# Nowa interaktywna karta historii

**URL:** <https://forum.arturhome.pl/t/nowa-interaktywna-karta-historii/5634>\
**Category:** Komponenty niestandardowe\
**Tags:** hacs-ui, hacs\
**Created:** [31 Maj 2022 00:59 UTC](https://forum.arturhome.pl/t/nowa-interaktywna-karta-historii/5634 "2022-05-31T00:59:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Autor:** ![artpc](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/artpc/32/848_2.png) [@artpc](https://forum.arturhome.pl/u/artpc)\
**Data wpisu:** [31 Maj 2022 00:59 UTC](https://forum.arturhome.pl/t/nowa-interaktywna-karta-historii/5634/1 "2022-05-31T00:59:38Z")

</div>

Interaktywna karta historii /custom:history-explorer-card  
Forum HA: [https://community.home-assistant.io/t/new-interactive-history-explorer-custom-card/369450](https://community.home-assistant.io/t/new-interactive-history-explorer-custom-card/369450)

Github: [https://github.com/alexarch21/history-explorer-card](https://github.com/alexarch21/history-explorer-card)

Możliwość przeglądania dni, zmiana zakresu danych, godziny, dni, tygodnie, miesiąc

 ![Screenshot - 31.05.2022 , 02_58_33](https://forum.arturhome.pl/uploads/default/original/2X/3/33178f3eaecca2979864dcb10a1c2a938610f2cd.png)

Wyszukiwanie encji i możliwość bezpośredniego dodania encji do karty.

 ![Screenshot - 31.05.2022 , 02_59_20](https://forum.arturhome.pl/uploads/default/original/2X/5/5f643a862e71e8d417864f6d098f59a244c935cd.png)

Kod karty:

```auto
type: custom:history-explorer-card
cardName: advanced-history
uimode: dark
stateColors:
  person.home: blue
  person.not_home: yellow
decimation: false
header: Moja przykładowa historia
graphs:
  - type: line
    options:
      ymin: -10
      ymax: 30
      showTimeLabels: true
    entities:
      - entity: sensor.pogoda_balkon_temperature
        color: '#3e95cd'
        fill: rgba(151,187,205,0.15)
        width: 4
        lineMode: stepped
      - entity: sensor.pokoj_tw_temperature
        color: '#ee3452'
        fill: rgba(0,0,0,0)
        lineMode: lines
  - type: line
    entities:
      - entity: sensor.pogoda_balkon_pressure
        color: '--my-special-green'
        fill: rgba(151,205,187,0.15)
  - type: timeline
    title: Non-numerical sensors
    entities:
      - entity: binary_sensor.cr_kuchnia_occupancy
        name: Kuchnia PIR
      - entity: binary_sensor.door_korytarz_2
        name: Drzwi Korytarz
      - entity: input_select.qubino2_3
        name: Heater
  - type: arrowline
    title: Wind bearing
    entities:
      - entity: sensor.dark_sky_alt_wind
        color: black
        fill: rgba(0,0,0,0.2)

```

Instalacja z HACS:

 ![Screenshot - 31.05.2022 , 02_57_33](https://forum.arturhome.pl/uploads/default/original/2X/5/5382dc4072d1121973cdfa2250b9ab520dac9038.png)

## Niestandardowe repozytoria

`https://github.com/alexarch21/history-explorer-card`
