Hi, Thanks for this great addon. Its working really great.
Only one thing is not working. Logic numbers should also be availible right? I can not add them while I enabled them in the api.. I like to import numerical variables to HA. But I cannot select them. Should this work?
Single Homey users: No change needed - the integration works as before
Multiple Homeys: When a second hub is added, entities are re-scoped to avoid collisions and device visibility issues
Missing status strings: If you canāt see status/notification strings, check the string toggles in settings; you can disable them if you donāt want those entities
Are you experiences issues?
Start by reloading the integration first. If that does not solve you issue, remove it completely and restart. Then add it again.
There is no loss of data if you remove the integration. Yes, your dashboard will look broken until itās installed again. But thatās it.
Hi Mikael,
since updating to v1.1.7, the Homey token has disappeared when I restart HA. This happens with early23 and early26. Perhaps you could take a look at this when you have a chance.
The API field was always empty, Uwe, right after you enter & save it. So thatās āby designā;
But, I noticed my 2nd Homey had unavailable devices;
Opening the selection menu, and then just save it (without changing anything in the selection) solved it for me.
As Peter said, thatās by design. You only need to enter it if you want to change it.
I donāt want to expose the full API key in that field at all times.
I will have a look at why a second Homey would need to be āre-savedā. It should not be like that, but Iām glad you found a simple solution!
From the capability dump, the device does expose stop as windowcoverings_state = āidleā and it is marked as setable: true, so in theory stop should work.
However, whether it actually stops depends entirely on how the Shelly cloud driver handles āidleā.
Can you test this directly in Homey Developer Tools ā API Playground
Test 1
In the Homey Web API Playground, run the below while the blind is moving (up or down).:
Then the device supports stop properly, and the issue is likely in how the command is being sent and I can continue to check for errors in the code.
⢠If it does NOT stop:
Then the Shelly driver is simply ignoring āidleā.
After a āgoogle tripā I noticed that some Shelly cover drivers only support up/down, and donāt implement a true stop command even though the enum exists.
Test 2
You can also try testing stop via position, since some Shelly drivers donāt handle āidleā but do stop when you re-send the current position.
First, note the current position from the device (e.g. 0.42).
Then in the Homey Web API Playground, run the below while the blind is moving (up or down).:
I will check the code and try to verify. Do you get any errors in the HA log as well?
And just to clarify:
The API key field in HA will always be empty - that is by design. You only enter the API key here if you need to change it, but that will also ādisappearā once itās been saved. This is just an āupdate API key fieldā so to speak.
Question:
Do you need to enter the API key for the devices/integration to work every time you restart, or does this happen even if you donāt restart HA?
I am guessing that you are running a multi-homey setup. Does this affect both of the hubs or only one? (The āfirstā or the secondary?)
Hi!
The issue wasnāt the token itself (99% sure..).
A single transient 401 from the Homey API triggered an immediate reauth, so the secondary hub asks for the API key every night even though the key was still valid.
The fix:
We now only trigger reauth after repeated 401s within a short window, and we log a clear message explaining why it happens. This prevents false prompts while still catching genuinely invalid keys.
So if it happens again, check the log and let me know!
Look for these log lines from the Homey integration:
Authentication failed (401) for devices endpoint ā¦
Received 401 from all device endpoints ⦠Deferring reauth until repeated failures.
Those lines also include the likely causes we now log (token invalidated, hub unreachable, or host resolving to the wrong Homey/mDNS). If you donāt see them, enable debug logging for custom_components.homey and then reproduce overnight.
You should have the update in v1.1.8 (available in HACS).
Some Shelly covers expose both a numeric position capability and an enum state (windowcoverings_state with up/down/idle). The integration was prioritizing the numeric path, so āStopā never sent idle, which is what these devices require to stop.
The fix:
The integration now detects enumābased covers and sends windowcoverings_state = āidleā for stop (even when a position capability exists). This restores stop on Shelly 2.5 / 2PM Gen3/Gen4 and similar drivers.
Hopefully this resolves your issues! Let me know otherwise!
a. Iāve noticed a few ānew capabilities foundā notifications, but I cleared the notifications too quickly.
Can I find those in the app (logs) somewhere?
b. Is it possible to use the capability titles instead of the capability names?
Those are Home Assistant persistent notifications, not stored in Homey. Once you dismiss them, HA doesnāt keep a history you can browse. So we canāt really see them again.
I added that to let users report new capabilities their devices have - that Iāve been missing.
Great input! And yes, it should be possible.
Some entities already use the Homey capability title (when available), but many still use the capability ID to keep naming stable and consistent.
For 1.1.9 I could add an optāin option to āUse Homey capability titles for entity names.ā And possibly have that as the default behavior for new installs of the integration.
That means:
Existing entities stay unchanged by default for current installs (no surprises, no broken automations).
New entities created after you enable the option will use the nicer Homey titles.
Iāll also add a oneātime āRename existing entitiesā action that updates the display name only (not the entity_id), so automations keep working.
That gives everyone a clean, safe way to switch to titles only if they want to.
Iāll post again when 1.1.9 is ready (whenever I have the time )
How to get nicer names right now:
Rename entities in Home Assistant:
Settings ā Devices & Services ā Entities
Search for the entity
Open it ā Rename
(Optional) Toggle āUpdate entity IDā if you want the entity_id changed too