notebook/IT/domotique/homeassistant.md
2021-04-20 23:13:14 +02:00

21 lines
373 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```