Hi,
I am trying to use this code, and struggling. I notice that the directory structure has changed.
So it seems texecom.py should now be init.py like this …
custom_components/texecom/init.py
custom_components/texecom/binary_sensor.py
I am now getting
“Unable to prepare setup for platform texecom.binary_sensor: Platform not found (No module named ‘homeassistant.components.texecom’).”
I suspect because the follow call should look different in what is now init.py?
if zones:
hass.async_create_task(async_load_platform(
hass, ‘binary_sensor’, DOMAIN, {
CONF_ZONES: zones
}, config
))
Can anyone help with this?