[APP][Pro] Home Assistant - Community App

Hi @RonnyW! I was playing with an ESPHome Macropad that sends homeassistant.events to Home Assistant.

I can use those events to create automations, like this:

alias: Macropad Button 1 Single Press
triggers:
  - event_type: esphome.macropad_button_single
    event_data:
      button: "1"
    trigger: event
actions:
  - action: light.toggle
    data: {}
    target:
      entity_id: light.hue_lightstrip_plus
mode: single

I’ve been trying to use those same triggers in Homey, but I can’t seem to find a way to do that with the current Flow cards. Do you think it would be possible to add a Flow card that listens for the event_type and its event_data?

This card isn’t capable, Bas?

1 Like

I tried that, but I don’t know what to fill in at the “Entity” field. In my case there’s no entity.

EDIT: Didn’t realise that the “Entity” field is optional. I kept it empty and now it works exactly as expected. :grin:

1 Like

And you use the data field “button” as filter for the case you have events for several buttons. Makes it easier to use triggers without a lot of logic cards :grinning_face_with_smiling_eyes:

Yes, this is perfect! Thanks so much!

1 Like

got a question, someone might be able to help with, I set up HA just to host tuya devices and use them from homey, I am finding that nearly every day HA has updates, and until I see it and update it, the devices in homey are offline

I don’t unterstand the question, sorry.

Which updates? Tuya itself or HA core?

What is offline? Tuya inside HA, HA devices in HA or HA entities in Homey?

If HA reboots after these updates, the linked HA Tuya devices @ Homey will be unavailable during the reboot.
Or do you mean something else?

pending HA updates block tuya access from homey

just pending HA updates blocks homey access.

until i manually update them.

That’s odd, I also use the Tuya HA integration, and added it’s 20 devices per Ronny’s app to Homey. It’s seldom for these to be unavailable.

In fact, I’ve never encountered an issue with pending HA updates.

For the record, can you please confirm you use this integration:

and this Homey Home Assistant app?

(because an Athom version exists as well)

yes i am using both of them

and the athom version too for devices that wouldn’t work in the community one

I’m curious what this should be. Can you give me an example?

I’m as curious as you are😉

my tuya plugs with power monitoring didnt work with the comunity HA app,but they do with the Athom version

The Athom app uses HA devices and their entities. That means, you add a device and some of its entities. The power entity is perhaps managed in a special case because the Capability must be named measure_power in Homey.

The comminity app offers several devices for HA domains (like lights, switch etc). The device uses all possibilities offered by this domain (all services).
So if you add a HA device, you basically select one entity from this domain (switch.entityname). The HA device is only a kind of entity group.

But you can add all entities grouped in the HA device in devce settings:

Doing so, you will get all additional entities/data into your Homey device.

But: for inserting the capabilities, the app uses subcapabilities including the entity name to keep them unique. That won’t work for energy capabilities.

In device settings, there is an energy option.

Check the hints (question mark icons).

If the power entity fits the standard naming, it will be added if “add power entity” is activated.
It the entity name does not fit, you can insert it into the field.

Another possibility it to start the repair view and add the power entity.

Select your power entity and use “measure_power” as capability.

Yeah, it’s quite complex, but it offers also a lot of flexibility :slight_smile:

Hi.
I have several HA camera devices added as Camera devices to Homey.
They all have added a lot of entities to the Homey devices including the following 2:

This one set the Homey tile active or inacive according to entity state:
Name: Tilkoblet
Entity: binary_sensor.aarlo_connected_veranda
Capability: onoff_state

This one turns the charger adapter for the camera on or off:
Name: Strømadapter
Entity: switch.kamera_veranda_lader_socket_1
Capability: onoff_button.switch.kamera_veranda_lader_socket_1

This config has been working without issues for many months.

I guess something broke in v1.13.0.
When I press the button for turning on/off the charging adapter, I get an error message telling me that my version of Homey does not support live streaming.
I Have a Homey Pro early 2019, so this is probably correct.
However, I’m not trying to do live streaming and I’m no longer able to turn the charging adapter on or off from Homey.

Can you please have a look at this?

Rgds.

Can you please check your Homey FW?
Is it 12.7 or higher?

Hi.

Thanks for quick response.

Version is 12.7.1