Comments (2)
Pretty vanilla install here... I see tons of switches:
SELECT * FROM ltss WHERE entity_id LIKE 'switch.%' AND time BETWEEN NOW()-'24h'::interval AND NOW();;
time | entity_id | state | attributes | location
-------------------------------+--------------------------------------+-------------+----------------------------------------------------+----------
2024-05-13 14:29:21.435496+00 | switch.adguard_home_protection | on | {"friendly_name": "AdGuard Home Protection"} |
2024-05-13 14:29:21.64909+00 | switch.adguard_home_parental_control | off | {"friendly_name": "AdGuard Home Parental control"} |
2024-05-13 14:29:21.970905+00 | switch.adguard_home_safe_search | off | {"friendly_name": "AdGuard Home Safe search"} |
2024-05-13 14:29:22.29841+00 | switch.adguard_home_query_log | on | {"friendly_name": "AdGuard Home Query log"} |
2024-05-13 14:29:22.07979+00 | switch.adguard_home_safe_browsing | off | {"friendly_name": "AdGuard Home Safe browsing"} |
2024-05-13 14:29:22.189361+00 | switch.adguard_home_filtering | on | {"friendly_name": "AdGuard Home Filtering"} |
2024-05-13 14:50:42.931188+00 | switch.p1_meter_cloud_connection | unavailable | {"friendly_name": "P1 meter Cloud connection"} |
2024-05-13 14:50:49.445734+00 | switch.p1_meter_cloud_connection | on | {"friendly_name": "P1 meter Cloud connection"} |
2024-05-13 21:36:32.344857+00 | switch.adguard_home_safe_search | off | {"friendly_name": "AdGuard Home Safe search"} |
2024-05-13 21:36:31.382792+00 | switch.p1_meter_cloud_connection | on | {"friendly_name": "P1 meter Cloud connection"} |
2024-05-13 21:36:31.807034+00 | switch.adguard_home_protection | on | {"friendly_name": "AdGuard Home Protection"} |
2024-05-13 21:36:32.021015+00 | switch.adguard_home_parental_control | off | {"friendly_name": "AdGuard Home Parental control"} |
2024-05-13 21:36:32.464407+00 | switch.adguard_home_safe_browsing | off | {"friendly_name": "AdGuard Home Safe browsing"} |
2024-05-13 21:36:32.688528+00 | switch.adguard_home_query_log | on | {"friendly_name": "AdGuard Home Query log"} |
2024-05-13 21:36:32.579823+00 | switch.adguard_home_filtering | on | {"friendly_name": "AdGuard Home Filtering"} |
2024-05-13 21:46:29.681763+00 | switch.p1_meter_cloud_connection | on | {"friendly_name": "P1 meter Cloud connection"}
from ltss.
Thank you @antoonhuiskens, when I initially ran the query, it returned an empty table. I then changed my HAOS configuration.yaml
and added the - switch
as a domain, and now I can read the switches!
from ltss.
Related Issues (20)
- operation not supported on hypertables that have compression enabled HOT 17
- More reliable DB reconnection logic HOT 1
- constraint "ltss_pkey" of relation "ltss" does not exist causes migration to fail to v.2.1.0 HOT 3
- Reduce LTSS database size HOT 3
- DB might end up in an undefined state since there is no rollback on errors in the migration code
- psycopg2-binary cannot be installed on Raspi HOT 1
- cannot start (update schema) - duplicate entity HOT 1
- Please add additional examples HOT 3
- Unicode translation to SQL_ASCII encoding fails with tempature, winddirection and cubic-meter-gas unit_of_measurement HOT 1
- ValueError: A string literal cannot contain NUL (0x00) characters. HOT 2
- ltts is missing under integrations in 2024.4.3 (hassio) HOT 1
- Feature Request: commit_interval
- password authentication failed for user "postgres" HOT 1
- sqlalchemy problem: "Requirements for ltss not found" HOT 8
- SQL alchemy error in home assistant v. 2023.2.3 HOT 2
- ltss won't load after update to ha-core 2023.3.2 HOT 5
- psycopg2 error in home assistant v.2023.3.4 HOT 8
- migrate existing recorder Database into ltss HOT 4
- Having trubble finding my data from grafana and pgadmin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltss.