-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add translation and order channels (#842)
* add translation and order channels * add changelog * fix changelog
- Loading branch information
1 parent
8488a6a
commit 79b5993
Showing
2 changed files
with
93 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,88 @@ | ||
{ | ||
"device_type": "BHT-6000 Series", | ||
"group": "g-thermostat", | ||
"device": { | ||
"name": "BHT-6000 Series", | ||
"id": "bht-6000-series", | ||
"channels": [ | ||
{ | ||
"name": "Power", | ||
"reg_type": "holding", | ||
"address": "0x00", | ||
"type": "switch", | ||
"format": "s16" | ||
}, | ||
{ | ||
"name": "Lock buttons", | ||
"reg_type": "holding", | ||
"address": "0x06", | ||
"type": "switch", | ||
"format": "s16" | ||
}, | ||
{ | ||
"name": "Temperature from internal sensor", | ||
"reg_type": "holding", | ||
"address": "0x01", | ||
"type": "temperature", | ||
"format": "s16", | ||
"scale": 0.1, | ||
"readonly": true | ||
}, | ||
{ | ||
"name": "Weekly program setting temperature", | ||
"reg_type": "holding", | ||
"address": "0x05", | ||
"type": "temperature", | ||
"format": "s16", | ||
"type": "range", | ||
"scale": 0.1, | ||
"min": 5, | ||
"max": 35 | ||
}, | ||
{ | ||
"name": "Heating status", | ||
"reg_type": "holding", | ||
"address": "0x03", | ||
"type": "switch", | ||
"format": "s16", | ||
"readonly": true | ||
}, | ||
{ | ||
"name": "Manual mode", | ||
"reg_type": "holding", | ||
"address": "0x02", | ||
"type": "switch", | ||
"format": "s16" | ||
}, | ||
{ | ||
"name": "Setting temperature", | ||
"reg_type": "holding", | ||
"address": "0x04", | ||
"type": "range", | ||
"format": "s16", | ||
"scale": 0.1, | ||
"min": 5, | ||
"max": 35 | ||
} | ||
] | ||
} | ||
} | ||
"device_type": "BHT-6000 Series", | ||
"group": "g-thermostat", | ||
"device": { | ||
"name": "BHT-6000 Series", | ||
"id": "bht-6000-series", | ||
"channels": [ | ||
{ | ||
"name": "Power", | ||
"reg_type": "holding", | ||
"address": "0x00", | ||
"type": "switch", | ||
"format": "s16", | ||
"on_value": 1, | ||
"off_value": 0 | ||
}, | ||
{ | ||
"name": "Temperature from internal sensor", | ||
"reg_type": "holding", | ||
"address": "0x01", | ||
"type": "temperature", | ||
"format": "s16", | ||
"scale": 0.1, | ||
"readonly": true | ||
}, | ||
{ | ||
"name": "Manual mode", | ||
"reg_type": "holding", | ||
"address": "0x02", | ||
"type": "switch", | ||
"format": "s16", | ||
"on_value": 1, | ||
"off_value": 0 | ||
}, | ||
{ | ||
"name": "Heating status", | ||
"reg_type": "holding", | ||
"address": "0x03", | ||
"type": "switch", | ||
"format": "s16", | ||
"readonly": true, | ||
"on_value": 1, | ||
"off_value": 0 | ||
}, | ||
{ | ||
"name": "Setting temperature", | ||
"reg_type": "holding", | ||
"address": "0x04", | ||
"type": "range", | ||
"format": "s16", | ||
"scale": 0.1, | ||
"min": 5, | ||
"max": 35 | ||
}, | ||
{ | ||
"name": "Weekly program setting temperature", | ||
"reg_type": "holding", | ||
"address": "0x05", | ||
"format": "s16", | ||
"type": "range", | ||
"scale": 0.1, | ||
"min": 5, | ||
"max": 35 | ||
}, | ||
{ | ||
"name": "Lock buttons", | ||
"reg_type": "holding", | ||
"address": "0x06", | ||
"type": "switch", | ||
"format": "s16", | ||
"on_value": 1, | ||
"off_value": 0 | ||
} | ||
], | ||
"translations": { | ||
"ru": { | ||
"BHT-6000 Series": "Термостат BHT-6000 Series", | ||
"Power": "Включение", | ||
"Temperature from internal sensor": "Температура внутреннего датчика", | ||
"Manual mode": "Ручной режим", | ||
"Heating status": "Статус нагрева", | ||
"Setting temperature": "Настройка температуры", | ||
"Weekly program setting temperature": "Установка температуры для недельной программы", | ||
"Lock buttons": "Блокировка кнопок" | ||
} | ||
} | ||
} | ||
} |