Commit d562541 1 parent 720e393 commit d562541 Copy full SHA for d562541
File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class NetworkMap extends BaseExtension {
65
65
if ( mappedModel ) {
66
66
labels . push ( `${ mappedModel . vendor } ${ mappedModel . description } (${ mappedModel . model } )` ) ;
67
67
} else {
68
- // This model is not supported by zigbee-shepherd -converters, add zigbee model information
68
+ // This model is not supported by zigbee-herdsman -converters, add zigbee model information
69
69
labels . push ( `${ device . manufacturerName } ${ device . modelID } ` ) ;
70
70
}
71
71
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " zigbee2mqtt" ,
3
3
"version" : " 1.6.0" ,
4
- "description" : " Zigbee to MQTT bridge using zigbee-shepherd " ,
4
+ "description" : " Zigbee to MQTT bridge using Zigbee-herdsman " ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
7
7
"type" : " git" ,
Original file line number Diff line number Diff line change 1
1
const fs = require ( 'fs' ) ;
2
2
const filename = process . argv [ 2 ] ;
3
3
const text = fs . readFileSync ( filename , 'utf8' ) ;
4
- const zigbeeShepherdConverters = require ( 'zigbee-shepherd -converters' ) ;
4
+ const zigbeeHerdsmanConverters = require ( 'zigbee-herdsman -converters' ) ;
5
5
6
6
7
7
for ( const line of text . split ( '\n' ) ) {
8
- const model = zigbeeShepherdConverters . devices . find ( ( d ) => d . model === line ) ;
8
+ const model = zigbeeHerdsmanConverters . devices . find ( ( d ) => d . model === line ) ;
9
9
console . log ( `- \`${ line } \` ${ model . vendor } ${ model . description } ` ) ;
10
10
}
You can’t perform that action at this time.
0 commit comments