add query home assistant

This commit is contained in:
vincent 2021-01-04 19:14:58 +01:00
parent 7682a6e80d
commit 6fb165d6e7

View File

@ -14,3 +14,8 @@
## 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```