FYI - Bosch BSD-2 Rauchmelder erfordern Anpassung nach Z2M Update 2.14.2 vor 2 Tagen

Das ist für diejenigen Interessant, die ihren Bosch BSD-2 Rauchmelder auch benutzen um über HA einen Rauch- oder Einbruchs Alarmtöne anzustoßen.

Mit dem vorgestrigem Z2M Update 2.14.2 gab es entsprechende Änderung

Damit ändert sich der Weg wie solche Alarme angesprochen werden.

action: perform-action
perform_action: siren.turn_on
target:
  entity_id: siren.bosch_oben_studio_tv_rauchmelder_alarm_control
data:
  tone: smoke

oder halt

data:
  tone: burglar

Ich selbst habe ein Rauchmelder Dashboard über die ich einzelne Rauchmelder ab und zu manuell teste.

type: horizontal-stack
cards:
  - type: custom:button-card
    entity: siren.bosch_oben_studio_tv_rauchmelder_alarm_control
    name: AUS
    icon: mdi:alarm-light-off
    tap_action:
      action: perform-action
      perform_action: siren.turn_off
      target:
        entity_id: siren.bosch_oben_studio_tv_rauchmelder_alarm_control
    hold_action:
      action: more-info
    styles:
      card:
        - background-color: var(--ha-card-background)
      icon:
        - color: var(--secondary-text-color)
    state:
      - operator: template
        value: |
          [[[
            return entity.state === "off";
          ]]]
        styles:
          card:
            - background-color: gray
          icon:
            - color: white
          name:
            - color: white
  - type: custom:button-card
    entity: siren.bosch_oben_studio_tv_rauchmelder_alarm_control
    name: RAUCH
    icon: mdi:smoke-detector
    tap_action:
      action: perform-action
      perform_action: siren.turn_on
      target:
        entity_id: siren.bosch_oben_studio_tv_rauchmelder_alarm_control
      data:
        tone: smoke
    hold_action:
      action: more-info
    styles:
      card:
        - background-color: var(--ha-card-background)
      icon:
        - color: var(--secondary-text-color)
    state:
      - operator: template
        value: |
          [[[
            return entity.state === "on" &&
                   entity.attributes.tone === "smoke";
          ]]]
        styles:
          card:
            - background-color: red
          icon:
            - color: white
          name:
            - color: white
  - type: custom:button-card
    entity: siren.bosch_oben_studio_tv_rauchmelder_alarm_control
    name: EINBRUCH
    icon: mdi:shield-alert
    tap_action:
      action: perform-action
      perform_action: siren.turn_on
      target:
        entity_id: siren.bosch_oben_studio_tv_rauchmelder_alarm_control
      data:
        tone: burglar
    hold_action:
      action: more-info
    styles:
      card:
        - background-color: var(--ha-card-background)
      icon:
        - color: var(--secondary-text-color)
    state:
      - operator: template
        value: |
          [[[
            return entity.state === "on" &&
                   entity.attributes.tone === "burglar";
          ]]]
        styles:
          card:
            - background-color: orange
          icon:
            - color: white
          name:
            - color: white

Moin und danke. Gelesen habe ich das auch schon, aber noch nicht testen können, da ich das Update noch nicht installiert habe.

Übrigens habe ich das bei mir ganz ähnlich mit einem Dashboard :wink:

Ich finde Deins auch schön. Poste bitte den Code nach Umstellung.
Das Austauschdatum mit reinzubringen, ist eine gute Erinnerung.

Kann ich machen, dauert aber noch ein bisschen.

Und danke, ich selbst bin noch nicht so ganz zufrieden. Aber ich justiere meine Dashboards ständig nach :roll_eyes::sweat_smile: die Info „Taste gedrückt“ ist z.B. eigentlich überflüssig.

Das Austauschdatum weise ich dem jeweiligen Rauchmelder über die customize.yaml als Attribut zu.