Classes | |
| class | StateDemoVacuum |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| string | DEMO_VACUUM_BASIC = "2_Second_floor" |
| string | DEMO_VACUUM_COMPLETE = "0_Ground_floor" |
| string | DEMO_VACUUM_MINIMAL = "3_Third_floor" |
| string | DEMO_VACUUM_MOST = "1_First_floor" |
| string | DEMO_VACUUM_NONE = "4_Fourth_floor" |
| list | FAN_SPEEDS = ["min", "medium", "high", "max"] |
| tuple | SUPPORT_ALL_SERVICES |
| tuple | SUPPORT_BASIC_SERVICES |
| SUPPORT_MINIMAL_SERVICES = VacuumEntityFeature.TURN_ON | VacuumEntityFeature.TURN_OFF | |
| tuple | SUPPORT_MOST_SERVICES |
Demo platform for the vacuum component.
| None homeassistant.components.demo.vacuum.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| string homeassistant.components.demo.vacuum.DEMO_VACUUM_BASIC = "2_Second_floor" |
| string homeassistant.components.demo.vacuum.DEMO_VACUUM_COMPLETE = "0_Ground_floor" |
| string homeassistant.components.demo.vacuum.DEMO_VACUUM_MINIMAL = "3_Third_floor" |
| string homeassistant.components.demo.vacuum.DEMO_VACUUM_MOST = "1_First_floor" |
| string homeassistant.components.demo.vacuum.DEMO_VACUUM_NONE = "4_Fourth_floor" |
| list homeassistant.components.demo.vacuum.FAN_SPEEDS = ["min", "medium", "high", "max"] |
| tuple homeassistant.components.demo.vacuum.SUPPORT_ALL_SERVICES |
| tuple homeassistant.components.demo.vacuum.SUPPORT_BASIC_SERVICES |
| homeassistant.components.demo.vacuum.SUPPORT_MINIMAL_SERVICES = VacuumEntityFeature.TURN_ON | VacuumEntityFeature.TURN_OFF |
| tuple homeassistant.components.demo.vacuum.SUPPORT_MOST_SERVICES |