Hey Guys,
after many days i´ve setup my shutters over FHEM and MQTT in Homeassistant.
# Bad Rollo
- name: Bad Fenster Rollladen
unique_id: "fhem_Ba_Fenster"
command_topic: "fhem/set/Ba_Fenster"
state_topic: "fhem/Ba_Fenster/state"
position_topic: "fhem/Ba_Fenster/position"
set_position_topic: "fhem/set/Ba_Fenster"
payload_available: "true"
payload_not_available: "false"
payload_open: "up"
payload_close: "down"
payload_stop: "stop"
state_opening: "drive-up"
state_closing: "drive-down"
position_open: 0
position_closed: 200
optimistic: true
qos: 1
When i listen on fhem/Ba_Fenster/position i became the correct value under my mosquitto app.
When i look under my custom shutter-card:
type: custom:shutter-card
title: null
entities:
- entity: cover.bad_fenster_rollladen
name: Bad Rollladen
buttons_position: left
invert_percentage: false
there is always the wrong value.
Or i missunderstand that… when i set the shutter on 60% and go to the card where is the position, there alwals is 0 or 100.
Sorry, but i´m a newbie and hope someone can explain me where´s the mistake.