Heiman HS1SA-Z smoke detectors often do not trigger when the test button is pressed

My Heiman HS1SA-Z smoke detectors often do not trigger when the test button is pressed.
Below is the contents of the yamel file for automation of a smoke detector:

alias: Rook in hal
description: ""
trigger:
  - type: smoke
    platform: device
    device_id: 207b8f47da3e2e44a0d345ba9a187bfd
    entity_id: binary_sensor.rookdetector_hal_smoke_detected
    domain: binary_sensor
condition: []
action:
  - service: notify.mobile_app_iphone_van_johan
    data:
      title: Brandalarm
      message: Rook in hal gedetecteerd
      data:
        push:
          category: alarm
          sound:
            name: alarm.caf
            critical: 1
            volume: 1
    enabled: true

The binary_sensor.smokedetector_…_smoke_detected trigger often does not trigger when I press the test button but sometimes it does. It also happens that the trigger goes off but then stays on. The value then does not go back to “off” but stays on “on”. I am using addon “Z-Wave JS”. I have connected 4 sensors without problems but all 4 have the same problem with the trigger.
If the value of this trigger is “on” then the sensor state value is always “Smoke detected” and if this trigger has the value “off” then the sensor state value is always the “idle”. See screenshots below:

1 Like

Ik heb vergelijkbare problemen maar onderstaand checken of de status veranderd lijkt het te doen
Helaas blijft de status op ‘on’ = ‘gedetecteerd’ staan en moet ik die via ontwikkelingstools weer aanpassen.
Ik heb nogsteeds geen goede methode gevonden om via script een waarde van een sensor in te stellen.

alias: brand in de garage?!
description: alarm slaan als het brand in de garage
trigger:

  • platform: state
    entity_id:
    • binary_sensor.rookdetector_garage_smoke_detected
      from: “off”
      to: “on”
      condition: []
      action:
  • service: scene.turn_on
    target:
    entity_id: scene.alle_lampen_aan
    metadata: {}
  • service: notify.mobile_app_iphone_van_geert
    data:
    message: het brand in de garage?!
    title: Brand!
    mode: single