forked from vincent/notebook
add query home assistant
This commit is contained in:
parent
7682a6e80d
commit
6fb165d6e7
@ -14,3 +14,8 @@
|
|||||||
## event
|
## event
|
||||||
|
|
||||||
- cube xiaomi xiaomi_aqara.cube_action
|
- 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```
|
Loading…
Reference in New Issue
Block a user