Testing switches and dimmers and all is currently working.
I can confirm issue with climate, cover and fan. I get same errors below and I only have fans and they do not function:
2022-04-25 11:42:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.climate: Platform not found (cannot import name ‘ClimateEntityFeature’ from ‘homeassistant.components.climate’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/climate/init.py)).
2022-04-25 11:42:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.cover: Platform not found (cannot import name ‘CoverEntityFeature’ from ‘homeassistant.components.cover’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/cover/init.py)).
2022-04-25 11:42:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.fan: Platform not found (cannot import name ‘FanEntityFeature’ from ‘homeassistant.components.fan’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/fan/init.py)).
I am also getting these:
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] MSG: 02501f13de000001c71100
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Topic: 1f13de.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 1}
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Error: ‘DimmableLightingControl_OutletLinc’ object has no attribute ‘status’
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] MSG: 02501f13de000001c31100
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Topic: 1f13de.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 0}
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Error: ‘DimmableLightingControl_OutletLinc’ object has no attribute ‘status’
2022-04-25 12:56:22 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message
2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message
2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] MSG: 02501f13de000001cb1300
2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] Topic: 1f13de.1.off.all_link_broadcast data: {‘cmd1’: 19, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 2}
2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] Error: ‘DimmableLightingControl_OutletLinc’ object has no attribute ‘status’
2022-04-25 12:56:38 ERROR (MainThread) [pyinsteon.utils] Subscriber: OffInbound.receive_message
2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message
2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] MSG: 02504997d0000001cf1100
2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] Topic: 4997d0.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}
2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’
2022-04-25 13:02:09 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message
2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message
2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] MSG: 02504997d0000001cf1300
2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] Topic: 4997d0.1.off.all_link_broadcast data: {‘cmd1’: 19, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}
2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’
2022-04-25 13:02:34 ERROR (MainThread) [pyinsteon.utils] Subscriber: OffInbound.receive_message
I am talking about Insteon PLM or Hub based groups. They can be created using the buttons on the devices and the PLM/Hub or better yet with an app. PLM/Hub based groups or scenes execute much faster than sending batches of commands to each device. For example I have an Insteon group to turn on of off 11 outdoor circuits when I use the PLM/Hub groups the response to the commands is instantaneous. It takes more than several seconds to have HA talk to each device.
Yep. That is correct. BUT … if you use insteon.scene_on and call the scene in the PLM/Hub it:
- Will be just as instantaneous
- Will not update the state of the individual lights in the GUI
Because the Hub is not reporting back to HA the status for each light so that the state can be updated.
That is why I opt to use groups in HA and not the Insteon ones. Yes I have a few with 10+ lights in them and it turns each one of them on in turn and not all at once, but I prefer having the GUI in sync.
HA is listening to HUB traffic and yes it does know the status of the individual lights. The following script started from Alexa turns on an Insteon group for my backyard lights. The lights turned on immediately from Alexa. The equivalent Insteon based group takes 1 second or more per light.
This is the script:
alias: Backyard On
sequence:
- service: insteon.scene_on
data:
group: 62
mode: single
This is the status image from my dashboard:
FYI, I just updated the files on the repository to work with 2022.4 and newer. This should get rid of the issues of loading cover, climate, etc. The links are the same but here they are:
Linux: https://github.com/teharris1/insteon-panel/releases/download/0.0.1b3/insteon.tar.gz
Windows: https://github.com/teharris1/insteon-panel/releases/download/0.0.1b3/insteon.zip
Also, I am submitting the pull request tomorrow so this should make it into 2022.5!!!
yikes - just got worse not better with this latest… now I am getting:
The following integrations and platforms could not be set up:
- insteon.light
- insteon.fan
- insteon.climate
- insteon.cover
2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.light: Platform not found (cannot import name ‘ColorMode’ from ‘homeassistant.components.light’ (/usr/src/homeassistant/homeassistant/components/light/init.py)).
2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.fan: Platform not found (cannot import name ‘FanEntityFeature’ from ‘homeassistant.components.fan’ (/usr/src/homeassistant/homeassistant/components/fan/init.py)).
2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.climate: Platform not found (cannot import name ‘ClimateEntityFeature’ from ‘homeassistant.components.climate’ (/usr/src/homeassistant/homeassistant/components/climate/init.py)).
2022-04-25 23:23:23 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform insteon.cover: Platform not found (cannot import name ‘CoverEntityFeature’ from ‘homeassistant.components.cover’ (/usr/src/homeassistant/homeassistant/components/cover/init.py)).
sorry same results here using updated insteon folder dated 25-apr 10:58 pm
Logger: homeassistant.setup
Source: setup.py:298
First occurred: 12:05:37 PM (4 occurrences)
Last logged: 12:05:37 PM
Unable to prepare setup for platform insteon.climate: Platform not found (cannot import name 'ClimateEntityFeature' from 'homeassistant.components.climate' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/climate/__init__.py)).
Unable to prepare setup for platform insteon.cover: Platform not found (cannot import name 'CoverEntityFeature' from 'homeassistant.components.cover' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/cover/__init__.py)).
Unable to prepare setup for platform insteon.fan: Platform not found (cannot import name 'FanEntityFeature' from 'homeassistant.components.fan' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/fan/__init__.py)).
Unable to prepare setup for platform insteon.light: Platform not found (cannot import name 'ColorMode' from 'homeassistant.components.light' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/light/__init__.py)).
You are 100% correct with scene_on updates. My issue in the past I just realized was Alexa with Insteon plugin and not Alexa with Nabu Casa.
I am getting the following errors when I press a button to turn on or off any switch. The first message is for the on and the second is for the off.
2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message
2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] MSG: 02504b91af000001cf1100
2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] Topic: 4b91af.1.on.all_link_broadcast data: {‘cmd1’: 17, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}
2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’
2022-04-26 15:12:13 ERROR (MainThread) [pyinsteon.utils] Subscriber: OnLevelInbound.receive_message
2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] An issue occured distributing the following message
2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] MSG: 02504b91af000001cf1300
2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] Topic: 4b91af.1.off.all_link_broadcast data: {‘cmd1’: 19, ‘cmd2’: 0, ‘target’: 000001, ‘user_data’: None, ‘hops_left’: 3}
2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] Error: ‘Hub’ object has no attribute ‘status’
2022-04-26 15:12:18 ERROR (MainThread) [pyinsteon.utils] Subscriber: OffInbound.receive_message
Hey, I am new to Home Assistant due to the shutdown and was wondering how to get the sliders on the dashboard for dimmer devices.
And @teharris1 thank you so much for the effort you are putting in.
@mdb17 … since you are new, it is not clear where we could or should be helping you. But In pure YAML editing, as @wgstarks says, use the custom:slider-entity-row
. I use custom:auto-entities
to build out cards and then the appropriate entities for this cards.
One card is like this:
So a whole tab for lights and switches and LEDs like this:
Add a “me too” to the issue regarding insteon.light, insteon.fan, insteon.climate, and insteon.cover set up error.
Awesome thanks for the I
info. I haven’t spent time diving into customizing the dashboard yet but it is definetly seething I look forward to playing with.
IT IS MERGED!!!
After 18 months of work, the Insteon Panel is finally in the core codebase. It will be released today in the beta channel and next Wednesday in the mainstream release. Thank you all for your support, efforts with debugging, feedback and patients. I will be opening a new thread to talk about where we take Insteon from here.
Congrats!!!
Can you post a link here for the new thread?
Yes, I want to work with the 2022.5.0b releases for the next week to make sure it is ready for 2022.5 full release. After that, I will start a new thread and close this one. (To the extent that a thread can be closed).
Thanks @teharris1, I assume the issues with the current beta are resolved? Most of use still have the errors like:
Logger: homeassistant.setup
Source: setup.py:298
First occurred: 3:30:46 PM (4 occurrences)
Last logged: 3:30:46 PM
- Unable to prepare setup for platform insteon.fan: Platform not found (cannot import name ‘FanEntityFeature’ from ‘homeassistant.components.fan’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/fan/init.py)).
- Unable to prepare setup for platform insteon.cover: Platform not found (cannot import name ‘CoverEntityFeature’ from ‘homeassistant.components.cover’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/cover/init.py)).
- Unable to prepare setup for platform insteon.climate: Platform not found (cannot import name ‘ClimateEntityFeature’ from ‘homeassistant.components.climate’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/climate/init.py)).
- Unable to prepare setup for platform insteon.light: Platform not found (cannot import name ‘ColorMode’ from ‘homeassistant.components.light’ (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/light/init.py)).
Just to note, I set up a new HA installation here with a 100% clean hub. Ready to stick in a few devices.