* add support for air purifier * add unit tests for air purifier * fix aqi translation * fix aqi translation * add air purifier table * fix air purifier * remove init and add options for aqi level
37 lines
842 B
JSON
37 lines
842 B
JSON
{
|
|
"entity": {
|
|
"fan": {
|
|
"fan": {
|
|
"state_attributes": {
|
|
"preset_mode": {
|
|
"state": {
|
|
"normal": "mdi:fan",
|
|
"natural": "mdi:leaf",
|
|
"sleep": "mdi:power-sleep",
|
|
"baby": "mdi:baby-face-outline"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"air_purifier": {
|
|
"default": "mdi:air-purifier",
|
|
"state": {
|
|
"off": "mdi:air-purifier-off"
|
|
},
|
|
"state_attributes": {
|
|
"preset_mode": {
|
|
"state": {
|
|
"level_1": "mdi:fan-speed-1",
|
|
"level_2": "mdi:fan-speed-2",
|
|
"level_3": "mdi:fan-speed-3",
|
|
"auto": "mdi:auto-mode",
|
|
"pet": "mdi:paw",
|
|
"sleep": "mdi:power-sleep"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|