notebook/IT/domotique/homeassistant.md

21 lines
374 B
Markdown
Raw Normal View History

2020-11-26 17:38:25 +00:00
# Home ASSistant
## instalation
``` yay home-assistant ```
- need mosquito broker for mqtt
## Cheatsheet
- [icon material](https://cdn.materialdesignicons.com/4.5.95/)
## event
2021-01-04 18:14:58 +00:00
- 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```