Skip to content

Flexit Nordic (BACnet) explicit on or off seems to be Toggle #160304

@marcolanghorst

Description

@marcolanghorst

The problem

I have two automations. One for turning on Fireplace mode based on air quality.

On:
alias: Air fresh on bedroom
description: ""
triggers:

  • trigger: numeric_state
    entity_id:
    • sensor.alpstuga_air_quality_monitor_pm2_5
      above: 4
  • type: turn_on
    device_id: 891f1009320b7b013ab0387461ab5661
    entity_id: 88e3407139917818553d6ee214c01d63
    domain: switch
    mode: single

Off:
alias: Air freshner off bedroom
description: ""
triggers:

  • trigger: numeric_state
    entity_id:
    • sensor.alpstuga_air_quality_monitor_pm2_5
      conditions:
  • condition: device
    type: is_on
    device_id: 891f1009320b7b013ab0387461ab5661
    entity_id: 88e3407139917818553d6ee214c01d63
    domain: switch
    actions:
  • type: turn_off
    device_id: 891f1009320b7b013ab0387461ab5661
    entity_id: 88e3407139917818553d6ee214c01d63
    domain: switch
    mode: single

In the off one I also check if the Fireplace mode is on before then turning it off. But it seems that sending an off or on command for fireplace mode functions as a toggle.

What version of Home Assistant Core has the issue?

core-2025.12.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Flexit Nordic (BACnet)

Link to integration documentation on our website

https://www.home-assistant.io/integrations/flexit_bacnet

Diagnostics information

Image

Running only the action (Turn off Flexit Nordic Fireplace mode) from this gui as a test results in: When Fireplace mode is off -> Fireplace mode will turn to on. When Fireplace mode is on -> Fireplace mode will turn to off.

The activity logs also shows this (was off, turned on). Same action: Was on, turned to off.

Notice in this screenshot You see turned on trigged by action Switch: Turn off. That seems to be the problem.

Image

Example YAML snippet

On:
alias: Air fresh on bedroom
description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.alpstuga_air_quality_monitor_pm2_5
    above: 4
  - type: turn_on
    device_id: 891f1009320b7b013ab0387461ab5661
    entity_id: 88e3407139917818553d6ee214c01d63
    domain: switch
mode: single

Off:
alias: Air freshner off bedroom
description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.alpstuga_air_quality_monitor_pm2_5
conditions:
  - condition: device
    type: is_on
    device_id: 891f1009320b7b013ab0387461ab5661
    entity_id: 88e3407139917818553d6ee214c01d63
    domain: switch
actions:
  - type: turn_off
    device_id: 891f1009320b7b013ab0387461ab5661
    entity_id: 88e3407139917818553d6ee214c01d63
    domain: switch
mode: single

Anything in the logs that might be useful for us?

Have not tested this with other modes.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions