mirror of
https://codeberg.org/icewind/taspromto.git
synced 2026-08-02 12:14:45 +02:00
forward mitemp to home assistant
This commit is contained in:
parent
71d28cf847
commit
7dff97b474
8 changed files with 211 additions and 13 deletions
27
scratch.json
Normal file
27
scratch.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"device": {
|
||||
"identifiers": ["mitemp-58:2D:34:35:F3:D4"],
|
||||
"name": "Bedroom",
|
||||
"manufacturer": "Icewind",
|
||||
"model": "Taspromto - Mitemp"
|
||||
},
|
||||
"origin": { "name": "taspromto" },
|
||||
"components": {
|
||||
"mitemp_582D3435F3D4_humidity": {
|
||||
"platform": "sensor",
|
||||
"device_class": "humidity",
|
||||
"unit_of_measurement": "%",
|
||||
"value_template": "{{ value_json.humidity}}",
|
||||
"unique_id": "mitemp_582D3435F3D4_temperature"
|
||||
},
|
||||
"mitemp_582D3435F3D4_temperature": {
|
||||
"platform": "sensor",
|
||||
"device_class": "temperature",
|
||||
"unit_of_measurement": "°C",
|
||||
"value_template": "{{ value_json.temperature}}",
|
||||
"unique_id": "mitemp_582D3435F3D4_temperature"
|
||||
}
|
||||
},
|
||||
"state_topic": "taspromto/sensor/mitemp_582D3435F3D4/state",
|
||||
"qos": 2
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue