Moin, falls jemend eine Oral B IO-Series nutzt und diese gern in HA einbinden möchte. Ich habe eine Karte erstellt mittels der custom:button-card. Der Sektor-Timer scheint aber nicht zu funktionieren, da kommen keine Werte.
Falls jemand Interesse hat … nachfolgend der Code:
type: custom:button-card
entity: sensor.io_series_6_7_0957
name: IO Series 6
entity_picture: https://brands.home-assistant.io/oralb/dark_icon@2x.png
show_name: true
show_state: false
show_icon: false
show_entity_picture: true
section_mode: true
custom_fields:
time:
card:
type: custom:button-card
name: Time
entity: sensor.io_series_6_7_0957_dauer
show_icon: false
show_state: true
styles:
card:
- background: transparent
- width: 250px
- height: 80px
- border: 0
name:
- font-size: 18px
- color: grey
state:
- font-size: 35px
sektor_time:
card:
type: picture-elements
image: /api/image/serve/3006c7cdf052a3159a6190396c35b357/512x512
elements:
- type: conditional
conditions:
- condition: state
entity: sensor.io_series_6_7_0957_sektor
state: sector 1
elements:
- type: image
entity: sensor.io_series_6_7_0957_sektor
style:
top: 26%
left: 26%
width: 48%
image: /api/image/serve/9c392eb08daca59b32218fc73492ad5c/512x512
- type: conditional
conditions:
- condition: state
entity: sensor.io_series_6_7_0957_sektor
state: sector 2
elements:
- type: image
entity: sensor.io_series_6_7_0957_sektor
image: /api/image/serve/3576d69f7ecc66d91893f881b3acb9df/512x512
style:
top: 26%
left: 74%
width: 48%
- type: conditional
conditions:
- condition: state
entity: sensor.io_series_6_7_0957_sektor
state: sector 3
elements:
- type: image
entity: sensor.io_series_6_7_0957_sektor
image: /api/image/serve/aa248faf27d4a2fb2b2e0cfcc68f523f/512x512
style:
top: 77.4%
left: 25.1%
width: 50%
- type: conditional
conditions:
- condition: state
entity: sensor.io_series_6_7_0957_sektor
state: sector 4
elements:
- type: image
entity: sensor.io_series_6_7_0957_sektor
image: /api/image/serve/f2b909757875b4c77277d233a81fd86a/512x512
style:
top: 77.4%
left: 75%
width: 50%
sektor:
card:
type: custom:button-card
name: Sektor
entity: sensor.io_series_6_7_0957_sektor
show_icon: false
show_state: true
styles:
card:
- background: transparent
- width: 200px
name:
- font-size: 14px
- color: grey
state:
- font-size: 18px
druck:
card:
type: custom:button-card
name: Druck
entity: sensor.io_series_6_7_0957_druck
show_icon: false
show_state: true
state:
- value: normal
styles:
card:
- background: rgba(28, 179, 0, 0.5)
- value: high
styles:
card:
- background: rgba(179, 0, 0, 0.5)
styles:
card:
- background: transparent
- width: 200px
name:
- font-size: 14px
- color: grey
state:
- font-size: 18px
sektoren:
card:
type: custom:button-card
name: Sektoren
entity: sensor.io_series_6_7_0957_anzahl_der_sektoren
show_icon: false
show_state: true
styles:
card:
- background: transparent
- width: 100px
name:
- font-size: 14px
- color: grey
state:
- font-size: 18px
modus:
card:
type: custom:button-card
name: Modus
entity: sensor.io_series_6_7_0957_bursten_modus
show_icon: false
show_state: true
styles:
card:
- background: transparent
- width: 100px
name:
- font-size: 14px
- color: grey
state:
- font-size: 18px
status:
card:
type: custom:button-card
name: Status
entity: sensor.io_series_6_7_0957
show_icon: false
show_state: true
styles:
card:
- background: transparent
- width: 100px
name:
- font-size: 14px
- color: grey
state:
- font-size: 18px
styles:
custom_fields:
time:
- position: absolute
- justify-self: center
- align-self: null
- top: 465px
- z-index: 1
sektor_time:
- position: absolute
- justify-self: center
- align-self: null
- top: 380px
- width: 250px
sektor:
- position: absolute
- justify-self: center
- align-self: null
- top: 290px
druck:
- position: absolute
- justify-self: center
- align-self: null
- top: 200px
sektoren:
- position: absolute
- justify-self: center
- align-self: null
- top: 120px
modus:
- position: absolute
- justify-self: center
- align-self: null
- top: 120px
- right: 10%
status:
- position: absolute
- justify-self: center
- align-self: null
- top: 120px
- left: 10%
card:
- border: 10px solid
- border-inner-radius: 10px
img_cell:
- position: absolute
- justify-content: center
name:
- position: absolute
- justify-self: center
- align-self: start
- top: 70px
state:
- position: absolute
- justify-self: start
- padding-left: 10px
icon:
- position: absolute
- justify-content: center
- align-items: start
- top: "-50px"
grid_options:
rows: 11
columns: 12
und die einzelnen Bilder:





