KNX Expose Entity both read and write?

Since HA has a very nice integration with various devices in our new office i’m using it as a bridge between the KNX / Homeserver for some fun stuff.
For example i wanted a simple mute for the Sonos if the doorbel rings.
(Sadly Gira with X1 and HS both work on IP basis instead of ID…)
With expose i get the status but are unable to write back?

  - type: binary
    entity_id: media_player.keuken
    attribute: is_volume_muted
    address: "0/3/1"

For that i have to use an automation.

alias: Kantoor Mute
description: ''
trigger:
  - platform: state
    entity_id: switch.kantoor_mute
    id: mute aan
    to: 'on'
  - platform: state
    entity_id: switch.kantoor_mute
    id: mute uit
    to: 'off'
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: mute aan
        sequence:
          - service: media_player.volume_mute
            data:
              is_volume_muted: true
            target:
              device_id: id
      - conditions:
          - condition: trigger
            id: mute uit
        sequence:
          - service: media_player.volume_mute
            data:
              is_volume_muted: false
            target:
              device_id: id
    default: []
mode: single

Is there a cleaner way? or will expose in the future work both ways? (prob would have a address and status_address)

Expose is only meant to be sending to the bus. I guess we shouldn’t change the state of an entity from another Integration - or should we, HomeKit is s doing it too :thinking:
If you want bidirectional you can just use a switch and couple it to your media player via an automation.

It would be nice to have 1 method of reading/writing from KNX to an Entity
Right now i’m just using Expose and Automation to get these to work, but with a few more i’m afraid my automation list will grow large, and with no way to group Automations (visually) that a bit of downside to me but nothing i cannot work around.

Still very gratefull for the intergration :wink: