diff --git a/config/services.yaml b/config/services.yaml index ebd670a..3e402a9 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -9,6 +9,20 @@ - Home Assistant: href: https://ha.okit.pl description: Sterowanie domem + widget: + type: homeassistant + url: http://ha.okit.pl + key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIzMThjZmNkZjM3NWY0NTAwYmQ0N2QxZTgyMjlmZGE5NiIsImlhdCI6MTc0MzAyNTM0MywiZXhwIjoyMDU4Mzg1MzQzfQ.zz7Aozphve87J8HqYcL9T3mxTn82WDL4xohOBJ5dlds + custom: + - state: sensor.total_power + - state: sensor.total_energy_today + label: energy today + - template: "{{ states.switch|selectattr('state','equalto','on')|list|length }}" + label: switches on + - state: weather.forecast_home + label: wind speed + value: "{attributes.wind_speed} {attributes.wind_speed_unit}" + - Zdjęcia: href: https://immich.okit.pl/ description: Nasze zdjęcia