Trying to add the area configuration
brijvs opened this issue · 3 comments
I'm trying to add the area configuration. However it returns an error saying the configuration is invalid.
My config is as follows
texecom:
host: 192.xxx.xxx.xxx
udl_password: "xxxx"
port: 10001
mqtt:
host: core-mosquitto
username: homeassistant
password: xxxxxx
homeassistant:
discovery: true
areas:
id: house
name: House Alarm
full_arm: armed_away
part_arm_1: armed_night
part_arm_2: armed_home
part_arm_3: armed_custom_bypass
Application version
Current version: 1.2.3
Texecom alarm type
Premier Elite 48
Home Assistant version
2023.3.4
Debug log
Failed to save add-on configuration, Invalid list for option 'areas' in texecom2mqtt (c15a2434_texecom2mqtt). Got {'texecom': {'host': '192.xxx.xxx.xxx', 'udl_password': 'xxxx', 'port': 10001}, 'mqtt': {'host': 'core-mosquitto', 'username': 'homeassistant', 'password': 'xxxx'}, 'homeassistant': {'discovery': True}, 'areas': {'id': 'house', 'name': 'House Alarm', 'full_arm': 'armed_away', 'part_arm_1': 'armed_night', 'part_arm_2': 'armed_home', 'part_arm_3': 'armed_custom_bypass'}, 'zones': []}
Is your problem the space in the name?
No,
I tried removing the space, I also tried putting '
and "
also tried
id: house
name: home
full_arm: armed_away
part_arm_1: armed_night
part_arm_2: armed_home
part_arm_3: armed_custom_bypass```
Solution found - weird, but here
host: 192.xxx.xxx.xxx
udl_password: "xxxx"
port: 10001
mqtt:
host: core-mosquitto
username: homeassistant
password: xxxxxx
homeassistant:
discovery: true
areas:
- id: house
name: House Alarm
full_arm: armed_away
part_arm_1: armed_night
part_arm_2: armed_home
part_arm_3: armed_custom_bypass
had to add -
before id
in the area