I have a Sonoff bulb light. B02b-a60, locally with Sonoff Lan… it works, but It gets unavailable and available all the time.
Here are the logs…
2022-07-30 18:27:52 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [547763776736] Sending {“id”:13,“type”:“result”,“success”:true,“result”:[{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“da2f44df4e79c66c1cffb388bcd6b42e”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.home_assistant_supervisor_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“2285a58d85519e34254df7587717c9ec”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.home_assistant_core_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“fa0cd1f222b5ccfbd55a72cbcab556b0”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.home_assistant_operating_system_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“fa0cd1f222b5ccfbd55a72cbcab556b0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.home_assistant_operating_system_update_available”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“fa0cd1f222b5ccfbd55a72cbcab556b0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.home_assistant_operating_system_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“fa0cd1f222b5ccfbd55a72cbcab556b0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.home_assistant_operating_system_newest_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:null,“device_id”:null,“disabled_by”:null,“entity_category”:null,“entity_id”:“person.felipe”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“person”},{“area_id”:null,“config_entry_id”:“d1b994194bf39347908b49f1db82af25”,“device_id”:null,“disabled_by”:null,“entity_category”:null,“entity_id”:“binary_sensor.rpi_power_status”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“rpi_power”},{“area_id”:null,“config_entry_id”:“0bc605afb5857122aa30d2b4feb0844f”,“device_id”:“829f4dc6c2523843fe8d3485f827413e”,“disabled_by”:null,“entity_category”:null,“entity_id”:“weather.casa”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“met”},{“area_id”:null,“config_entry_id”:“0bc605afb5857122aa30d2b4feb0844f”,“device_id”:“829f4dc6c2523843fe8d3485f827413e”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“weather.casa_hourly”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“met”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“bff3dcdbb733be0d5de4255c711671f0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.terminal_ssh_update_available”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“bff3dcdbb733be0d5de4255c711671f0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.terminal_ssh_running”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“bff3dcdbb733be0d5de4255c711671f0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.terminal_ssh_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“bff3dcdbb733be0d5de4255c711671f0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.terminal_ssh_newest_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“bff3dcdbb733be0d5de4255c711671f0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.terminal_ssh_cpu_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“bff3dcdbb733be0d5de4255c711671f0”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.terminal_ssh_memory_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“bff3dcdbb733be0d5de4255c711671f0”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.terminal_ssh_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“4514ef6cb2746fa28f54b303ee794369”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.home_assistant_google_drive_backup_update_available”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“4514ef6cb2746fa28f54b303ee794369”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.home_assistant_google_drive_backup_running”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“4514ef6cb2746fa28f54b303ee794369”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.home_assistant_google_drive_backup_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“4514ef6cb2746fa28f54b303ee794369”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.home_assistant_google_drive_backup_newest_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“4514ef6cb2746fa28f54b303ee794369”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.home_assistant_google_drive_backup_cpu_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“4514ef6cb2746fa28f54b303ee794369”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.home_assistant_google_drive_backup_memory_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“4514ef6cb2746fa28f54b303ee794369”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.home_assistant_google_drive_backup_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“cdd6b2685e1e456db7410b64abefbd96”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.zigbee2mqtt_update_available”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“cdd6b2685e1e456db7410b64abefbd96”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.zigbee2mqtt_running”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“cdd6b2685e1e456db7410b64abefbd96”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.zigbee2mqtt_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“cdd6b2685e1e456db7410b64abefbd96”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.zigbee2mqtt_newest_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“cdd6b2685e1e456db7410b64abefbd96”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.zigbee2mqtt_cpu_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“cdd6b2685e1e456db7410b64abefbd96”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.zigbee2mqtt_memory_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“cdd6b2685e1e456db7410b64abefbd96”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.zigbee2mqtt_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“31f0dfb642cbef7d141c342dce0b3f4a”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.mosquitto_broker_update_available”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“31f0dfb642cbef7d141c342dce0b3f4a”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.mosquitto_broker_running”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“31f0dfb642cbef7d141c342dce0b3f4a”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.mosquitto_broker_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“31f0dfb642cbef7d141c342dce0b3f4a”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.mosquitto_broker_newest_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“31f0dfb642cbef7d141c342dce0b3f4a”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.mosquitto_broker_cpu_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“31f0dfb642cbef7d141c342dce0b3f4a”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.mosquitto_broker_memory_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“31f0dfb642cbef7d141c342dce0b3f4a”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.mosquitto_broker_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“c20b086d7fa1f6c6e452b2fafc75e891”,“device_id”:“5da2e165312260375f2be19c519a2df0”,“disabled_by”:null,“entity_category”:“diagnostic”,“entity_id”:“device_tracker.redmi_note_9s”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“mobile_app”},{“area_id”:null,“config_entry_id”:null,“device_id”:null,“disabled_by”:null,“entity_category”:null,“entity_id”:“person.valentina”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“person”},{“area_id”:null,“config_entry_id”:null,“device_id”:null,“disabled_by”:null,“entity_category”:null,“entity_id”:“automation.luz_anochecer”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“automation”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“947ea4275d08a27cba6c1bb24b16d486”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.duck_dns_update_available”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“947ea4275d08a27cba6c1bb24b16d486”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.duck_dns_running”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“947ea4275d08a27cba6c1bb24b16d486”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.duck_dns_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“947ea4275d08a27cba6c1bb24b16d486”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.duck_dns_newest_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“947ea4275d08a27cba6c1bb24b16d486”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.duck_dns_cpu_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“947ea4275d08a27cba6c1bb24b16d486”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.duck_dns_memory_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“947ea4275d08a27cba6c1bb24b16d486”,“disabled_by”:null,“entity_category”:“config”,“entity_id”:“update.duck_dns_update”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“66979581145d8637c39bacc5459f7e86”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.studio_code_server_update_available”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“66979581145d8637c39bacc5459f7e86”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“binary_sensor.studio_code_server_running”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“66979581145d8637c39bacc5459f7e86”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.studio_code_server_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“66979581145d8637c39bacc5459f7e86”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.studio_code_server_newest_version”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“66979581145d8637c39bacc5459f7e86”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.studio_code_server_cpu_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},{“area_id”:null,“config_entry_id”:“225abff3122f613a17b94fc90fcbd4f7”,“device_id”:“66979581145d8637c39bacc5459f7e86”,“disabled_by”:“integration”,“entity_category”:null,“entity_id”:“sensor.studio_code_server_memory_percent”,“hidden_by”:null,“icon”:null,“name”:null,“platform”:“hassio”},`
Its very annoying,
the way i got to get the light working is a automated process that turn the light on every second for 10 seconds, so in that period i cant get the bulb state available and it turns on… .i do the same to get off.
But its very frustrating when I want to turn it on manually, I have to push the button 10 times until the device gets available.
I already do a lot of stuff, uninstall Sonoff Local, reinstall, unpair and pair again the bulb, etc… nothing works.