# \[APP\]\[Pro\] Home Assistant - Community App

**URL:** <https://community.homey.app/t/app-pro-home-assistant-community-app/71477>\
**Category:** Apps\
**Tags:** app, tools, homey-pro, home-assistant\
**Created:** [October 31, 2022, 8:25pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477 "2022-10-31T20:25:26Z")\
**Posts on this page:** 20\
**Page:** 44

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 18, 2023, 2:40pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/869 "2023-10-18T14:40:03Z")

</div>

New **test version 1.5.2** :

- extended Alarm Control Panel:  
Sensors for state and alarm added. The alarm is activated at first alarm trigger and stays active until it’s deactivated using the reset button.  
Buttons to reset the alam or trigger the alarm (for test).  
Flow trigger for triggered and active alarm.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/2/628d09bff7f0849ee7005ea3cd4aefb59de7e15d.png) ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/a/7a64ed041732ed0f01149557373162a51c94074b.png)

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/0367824e5c85ac72429614d70453d2b60fc0e034.png)

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 21, 2023, 7:38am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/870 "2023-10-21T07:38:40Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/815123d445d56337b20731ff45a87ae9d82e9696.png)  
I can’t find Armed at Night (sorry, it’s in Norwegian), but there is no Armed at Night option in the flow?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 21, 2023, 9:14am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/871 "2023-10-21T09:14:28Z")

</div>

Currently not.  
I grouped all armed states to a common “armed” state to have an simplified state.  
I will add a mode condtition card where you can check which mode is set. I think I can add it this weekend.

In the meantime you could use the global tag for the mode capability and check the mode ID.  
The mode IDs you can find here:

> <https://github.com/RonnyWinkler/io.home-assistant.community/blob/main/.homeycompose/capabilities/alarm_control_panel_mode.json>

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 21, 2023, 9:36am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/872 "2023-10-21T09:36:04Z")

</div>

> [@RonnyW](#):
>
> I grouped all armed states to a common “armed” state to have an simplified state.

Thx! The Armed Home is fantastic since you always can turn off lights etc when going to bed.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 21, 2023, 8:42pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/873 "2023-10-21T20:42:08Z")

</div>

New **test version 1.5.3** :

- Added alarm control panel mode condition. Check in an flow which mode is active.
- Added ‘update device’ flow action. Use this action to update calculated device capabilities (converter).

@Felix_oslo: If you want to check the set alarm mode, you can use the new condition card now.

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 25, 2023, 6:47am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/874 "2023-10-25T06:47:19Z")

</div>

> [@RonnyW](#):
>
> @Felix_oslo: If you want to check the set alarm mode, you can use the new condition card now.

In the latest test version I cant change the alarm mode from Homey. It says timeout if I change the alarm mode from the menu. Changing alarm mode from HA is no problem. The connection to HA is fine.

 ![WhatsApp Bilde 2023-10-25 kl. 08.46.42_3b560e61](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/af2ada0d8ec8f8b3400570e73e3dc08889cf6eaa.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/3/d32837ef66edbfd3c868d38792562fbd2fd5f1ac.png)

Report: 7f4413a0-58fd-42b1-83ff-c34cbfe57064

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 25, 2023, 7:17am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/875 "2023-10-25T07:17:58Z")

</div>

Hi, thanks for the report.  
I can see your service call:

```auto
2023-10-25T06:40:18.082Z [log] [App] callService: domain: alarm_control_panel | service: "alarm_disarm" | data: { entity_id: 'alarm_control_panel.verisure_alarm', code: '' } target: undefined

```

and an error as result from HA:

```auto
2023-10-25T06:40:43.927Z [log] [App] callService error: {
  code: 'unknown_error',
  message: "'NoneType' object has no attribute 'get'"
}

```

This error message should also be visible in your flow hovering over the error icon - just fyi.

Can you please check if the service works in HA (developer tools) or if the service also errors in HA?

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/888a9ff0630c756c919ec35faeae58cc164a96d0.png)

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 25, 2023, 9:42am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/876 "2023-10-25T09:42:38Z")

</div>

As far as I can see, no error messages…

 ![Skjermbilde 2023-10-25 113527 - s](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/e/eeef57addbc014197031dd43d6a6d0dfd9d9a2fa.jpeg)

I have to admit that I’m not very experienced in HA, I did not get any error messages. Was this the correct place to look?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 25, 2023, 10:06am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/877 "2023-10-25T10:06:26Z")

</div>

Is this Yaml code?

I meant the HA GUI where you can select the domain/service and add the entity as shown in my screenshot.

Open developer tools:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/a/8ad5efb48c495a1a083e77f5669c934a2ea0f8a5.png)

Go to “services” and delect the domain/service

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1e9211b1aa1ab9e84de82718bf51b9c302a971aa.png)

Then insert your entity\_id into the JSON code like shown in my screenshot above.

Btw…Are you using a PIN code? I haven’t seen in the log, that a code was used. Can you please check the device settings if your PIN code is set?  
With my “virtual” alarm control panel with defined PIN I get a readable error message like “code not submitted”.

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 25, 2023, 10:35am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/878 "2023-10-25T10:35:55Z")

</div>

> [@RonnyW](#):
>
> Btw…Are you using a PIN code? I haven’t seen in the log, that a code was used

Oh lord! Sorry! The PIN code was set, but somehow it was gone. Works fine now. If it’s possible to have a “save” button in the Homey interface when storing the code, it would look more intuitive, ex it says “saved” or Ok. Sorry about the extra work I made for you.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 25, 2023, 10:58am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/879 "2023-10-25T10:58:55Z")

</div>

No problem. I’m glad to help.

In WebApp, you can edit the values directly and hit the save button.  
In mobile app you have to select a setting, change the value, go back and then hit the save button.

The PIN should stay. Have you removed and readded the device? In this case the PIN is needed again.  
But the error message from the HA integratio is not helpful at all. A hint about the missing PIN would be nice.  
You can test this with a service call in HA developer tools without a code. I think you should see a similar error then.

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 25, 2023, 11:31am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/880 "2023-10-25T11:31:07Z")

</div>

> [@RonnyW](#):
>
> The PIN should stay. Have you removed and readded the device? In this case the PIN is needed again.

The only thing I did was downloading the test version and the device stayed. I guess the PIN in Homey was lost during the test version download.

Regarding the test in HA, if you want me to do a test, I will do my best. I’m just so super happy when the developer actually answer the users… 🙏

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 25, 2023, 11:33am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/881 "2023-10-25T11:33:28Z")

</div>

Is it possible to show the state of the alarm (Armed, Disarmed, Armed Home etc) in the icon itself?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/60ce12b61cb752397d5f757b24c09d79a0fa0389.png)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 25, 2023, 11:44am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/882 "2023-10-25T11:44:10Z")

</div>

No, it’s only possible to select boolean (alarm) or numeric capabilities for the tile state.  
The state is a string capability (enum/fixed value list).

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 25, 2023, 11:45am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/883 "2023-10-25T11:45:16Z")

</div>

> [@Felix\_oslo](#):
>
> The only thing I did was downloading the test version and the device stayed.

Hm, the PIN is standard device settings and should not be cleared on app update.  
If this happens again, please give me a feedback.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 25, 2023, 2:49pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/884 "2023-10-25T14:49:55Z")

</div>

Hi Ronny, I don’t think he meant the _tile state_, but the capability with the name ‘State’ as in ‘Alarm State’.

The web and mobile app (as of v7.4) can show text values on tiles, but you know that ofc.  
This is from a ‘Presence’ device:

 ![Screenshot_20231025-164415_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/0/1073c689e5b743ad2d1f7eb0bc447afdbf7853fb.jpeg)

---

<div class="post-metadata">

**Author:** ![Felix\_oslo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/felix_oslo/32/33969_2.png) [@Felix\_oslo](https://community.homey.app/u/Felix_oslo)\
**Post date:** [October 25, 2023, 3:13pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/885 "2023-10-25T15:13:29Z")

</div>

> [@Peter\_Kawa](#):
>
> Hi Ronny, I don’t think he meant the _tile state_, but the capability with the name ‘State’ as in ‘Alarm State’.

That is correct - thx!

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 25, 2023, 3:27pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/886 "2023-10-25T15:27:21Z")

</div>

Yes, I meant the state capability.  
But it’s an enum capabiity and Athom only allows string capabilities.  
I ask Athom first on Slack…

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 25, 2023, 3:55pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/887 "2023-10-25T15:55:30Z")

</div>

Ah I see. I obviously don’t know the difference between enum and string 🤪

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [October 25, 2023, 4:08pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/888 "2023-10-25T16:08:34Z")

</div>

Hehe, a string is plain text. An enum is a list of IDs and translated descriptions to have a nice text in the sensor view.

> <https://github.com/RonnyWinkler/io.home-assistant.community/blob/main/.homeycompose/capabilities/alarm_control_panel_state.json>

[Previous page](https://community.homey.app/t/app-pro-home-assistant-community-app/71477.md?page=43)

[Next page](https://community.homey.app/t/app-pro-home-assistant-community-app/71477.md?page=45)
