Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Gruppenadressen:
- #
- # Antrieb fahren: 6/5/0
- # Tor Position: 6/5/2
- # Invertierte Tor Position: 6/5/6 (Erzeugt durch HomeAssistant)
- # configuration.yml
- sensor:
- - platform: template
- sensors:
- garagentor_position_invertiert: # Erzeuge Invertierte Gargentor Position
- friendly_name: Garagentor Position Invertiert
- unit_of_measurement: '%'
- value_template: >-
- {{ ( 100 - (states('sensor.garagentor_position') | int)) }}
- knx:
- expose:
- - type: 'percent' # Invertierte Gargentor Position an Bus
- entity_id: 'sensor.garagentor_position_invertiert'
- default: 100
- address: '6/5/6'
- homeassistant:
- customize:
- cover.garagentor: # Macht aus dem Cover ein HomeKit Garagentor
- device_class: garage
- # knx_sensors.yml
- - type: percent
- name: Garagentor Position
- state_address: '6/5/2' # Originale Gargentor Position
- # knx_covers.yml
- - name: Garagentor
- move_long_address: '6/5/0'
- position_state_address: '6/5/6' # Nutze Invertierte Gargentor Position
Advertisement
Add Comment
Please, Sign In to add comment