[Tutorial] HomeAssistant Sensors Template

Hey Spruce, thanks
Yes it took me quite some time to figure everything out, but piggy backing on the forums, and especially on the original template, I was able to understand most of it.
Kudos to the communities!

Good thing you mentioning the capitalization, I’ll add a note about it: I also had to change everything but forgot about it lol

As for my dashboard it’s far from finalized, so far I don’t have much up, nothing to call home for.
The little piece I showed uses a custom card you can find on HACS, Home Assistant Community Store: mini graph card.

type: vertical-stack
cards:
  - type: gauge
    entity: sensor.iotawatt_output_rounded_totale
    min: 0
    name: Consumo Istantaneo
    severity:
      green: 0
      yellow: 5000
      red: 6000
    max: 7000
    unit: Watt
  - type: horizontal-stack
    cards:
      - type: 'custom:mini-graph-card'
        entities:
          - sensor.iotawatt_output_rounded_giorno
        line_color: blue
        line_width: 8
        font_size: 75
        name: Giorno
        hours_to_show: 24
        points_per_hour: 5
      - type: 'custom:mini-graph-card'
        entities:
          - sensor.iotawatt_output_rounded_notte
        line_color: '#e74c3c'
        line_width: 8
        font_size: 75
        name: Notte
        hours_to_show: 24
        points_per_hour: 5
      - type: 'custom:mini-graph-card'
        entities:
          - sensor.iotawatt_output_rounded_cucina
        line_color: var(--accent-color)
        line_width: 8
        font_size: 75
        name: Cucina
        hours_to_show: 24
2 Likes