S0tool dashboard code

Categorieën bekijken

S0tool dashboard code

Hier de eerste code er zullen nog wel meer gaan volgen, heb je ook nog een mooie gemaakt deel hem gerust hieronder. Of stuur hem in de mail naar mij op dan zorg ik dat hij er bij komt te staan.
Deze is speciaal voor de S0tool. Er komen ook standaard dashboard codes op de wiki.

S0tool dashboard code 1
type: history-graph
entities:
  - entity: sensor.waterverbruik_per_dag
hours_to_show: 72

S0tool dashboard code 2
type: entities
entities:
  - entity: sensor.actuele_energie
  - entity: sensor.actuele_meterstand
  - entity: sensor.totaal_opgebracht
  - entity: number.pulsrate_kwh
  - entity: sensor.s0tool_versie
    icon: mdi:alpha-v-circle-outline
  - entity: sensor.s0tool_online_sinds
  - entity: sensor.watermeter_flow
  - entity: sensor.watermeter_totaal
  - entity: sensor.watermeter_stand
  - entity: select.pulsrate_water_per_m3
  - entity: sensor.s0tool_gelijk_github
title: S0tool
state_color: true

S0tool dashboard code 3
type: history-graph
entities:
  - entity: sensor.actuele_energie
hours_to_show: 72

S0tool dashboard code 4
type: vertical-stack
cards:
  - type: custom:mushroom-title-card
    title: S0tool Updates
    subtitle: >-
      Installed {{ states("sensor.s0tool_versie") }} - Latest {{
      states('sensor.s0tool_versie_github') }}
  - type: custom:mushroom-chips-card
    chips:
      - type: template
        icon: mdi:web
        icon_color: blue
        content: Release Changelog
        tap_action:
          action: url
          url_path: https://github.com/huizebruin/s0tool/releases
      - type: template
        entity: sensor.s0tool_versie
        content: Installed {{ states("sensor.s0tool_versie") }}
        icon_color: green
        icon: mdi:package-variant-closed
        tap_action:
          action: none
      - type: template
        entity: sensor.s0tool_versie_github
        content: Latest {{ states('sensor.s0tool_versie_github') }}
        icon_color: orange
        icon: mdi:package-variant-closed
        tap_action:
          action: none
      - type: template
        icon: |-
          {% if is_state('sensor.s0tool_gelijk_github', 'True') %}
            mdi:package-variant-closed
          {% else %}
            mdi:package-variant-closed
          {% endif %}
        content: >-
          Up to date ? {% if is_state('sensor.s0tool_gelijk_github', 'False') %}
          Nee {% else %} Ja {% endif %}
        icon_color: |-
          {% if is_state('sensor.s0tool_gelijk_github', 'True') %}
            green
          {% else %}
            red
          {% endif %}
        tap_action:
          action: more-info
        entity: sensor.s0tool_gelijk_github
    alignment: start
Geüpdatet op 05/05/2025

Geef een reactie...

Deze site gebruikt Akismet om spam te verminderen. Bekijk hoe je reactie gegevens worden verwerkt.

Scroll naar boven
Huizebruin.nl
Privacyoverzicht

Deze site maakt gebruik van cookies, zodat wij je de best mogelijke gebruikerservaring kunnen bieden. Cookie-informatie wordt opgeslagen in je browser en voert functies uit zoals het herkennen wanneer je terugkeert naar onze site en helpt ons team om te begrijpen welke delen van de site je het meest interessant en nuttig vindt.