Files
ha-core/homeassistant/components/switchbot/icons.json
Retha Runolfsson 2d5867cab6 Add switchbot air purifier support (#144552)
* 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
2025-05-26 15:06:33 +02:00

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"
}
}
}
}
}
}
}