Git Product home page Git Product logo

Comments (2)

antoonhuiskens avatar antoonhuiskens commented on September 22, 2024

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.

sebzuddas avatar sebzuddas commented on September 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.