notebook/IT/domotique/homeassistant.md
2021-01-04 19:14:58 +01:00

21 lines
374 B
Markdown

# Home ASSistant
## instalation
``` yay home-assistant ```
- need mosquito broker for mqtt
## Cheatsheet
- [icon material](https://cdn.materialdesignicons.com/4.5.95/)
## event
- cube xiaomi xiaomi_aqara.cube_action
## SQL request
- get most use entity:
```SELECT entity_id, COUNT(*) as count FROM hass.states GROUP BY entity_id ORDER BY count DESC LIMIT 20```