Core: MQTT Alarm doesn't activate via scenes using activation code

Created on 22 Nov 2019  路  5Comments  路  Source: home-assistant/core

Home Assistant release with the issue:
0.102.1

Last working Home Assistant release (if known):
0.100.3

Operating environment (Hass.io/Docker/Windows/etc.):
Venv on Raspbian

Integration:
N/A

Description of problem:
MQTT code-protected alarm doens't activate only when using scenes:

[homeassistant.components.mqtt.alarm_control_panel] Wrong code entered for arming away

Code isn't wrong - it was working good on 0.100.x - and it works from frontend.
Config:

alarm_control_panel:
- platform: mqtt
  name: Alarm
  code: 1234
  state_topic: "stat/Alarm"
  command_topic: "cmnd/Alarm"
  payload_arm_home: "armed_home"
  payload_arm_away: "armed_away"
  payload_disarm: "disarmed"
  qos: 2
scenes:
- name: Away
  entities:
    alarm_control_panel.alarm:
      state: armed_away
      code: 1234
alarm_control_panel mqtt scene

Most helpful comment

This is no longer supported. Scenes only replicate an existing state, and alarm code is not part of that state. You will need to use a service call to activate an alarm.

All 5 comments

Hey there @home-assistant/core, mind taking a look at this issue as its been labeled with a integration (mqtt) you are listed as a codeowner for? Thanks!

Hey there @colinodell, mind taking a look at this issue as its been labeled with a integration (alarm_control_panel) you are listed as a codeowner for? Thanks!

hi @colinodell, did u have a chance to take a look?

Hey there @home-assistant/core, mind taking a look at this issue as its been labeled with a integration (scene) you are listed as a codeowner for? Thanks!

This is no longer supported. Scenes only replicate an existing state, and alarm code is not part of that state. You will need to use a service call to activate an alarm.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Konstigt picture Konstigt  路  3Comments

MartinHjelmare picture MartinHjelmare  路  3Comments

piitaya picture piitaya  路  3Comments

arangates picture arangates  路  3Comments

flsabourin picture flsabourin  路  3Comments