homeassistant-cox's People
homeassistant-cox's Issues
Errors with sensor in HA 114.2
Seeing this after installing last night. The modem restart kill switch works fine, however the sensor throws this error related to no state.
2020-08-17 13:19:14 ERROR (SyncWorker_5) [custom_components.cox_sensor.sensor] Expecting value: line 2 column 1 (char 2)
2020-08-17 13:19:14 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up cox_sensor platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 187, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 452, in _async_add_entity
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 290, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 314, in _async_write_ha_state
sstate = self.state
File "/config/custom_components/cox_sensor/sensor.py", line 121, in state
return self._state
AttributeError: 'cox_sensor' object has no attribute '_state'
Error while setting up cox_sensor platform for sensor
Error while setting up cox_sensor platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 514, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 547, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 310, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 334, in _async_write_ha_state
sstate = self.state
File "/config/custom_components/cox_sensor/sensor.py", line 138, in state
return self._state
AttributeError: 'cox_sensor' object has no attribute '_state'
Version | core-2021.4.3 |
---|---|
Installation Type | Home Assistant OS |
Operating System Version | 5.4.83-v8 |
Any ideas how to fix?
Error: strptime() argument 1 must be str, not None
Just noticed this error in Home Assistant today
Logger: custom_components.cox_sensor.sensor
Source: custom_components/cox_sensor/sensor.py:116
Integration: cox_sensor (documentation)
First occurred: 11:02:57 AM (4 occurrences)
Last logged: 11:03:25 AM
strptime() argument 1 must be str, not None
Sensors not working on HA v2022 2.0?
It appears the sensors are no longer recognized.
In the logs:
This error originated from a custom integration.
Logger: custom_components.cox_sensor.sensor
Source: custom_components/cox_sensor/sensor.py:128
Integration: cox_sensor (documentation)
First occurred: February 9, 2022, 7:37:32 PM (4 occurrences)
Last logged: February 9, 2022, 7:37:40 PM
list index out of range
Logger: homeassistant.components.sensor
Source: custom_components/cox_sensor/sensor.py:138
Integration: Sensor (documentation, issues)
First occurred: February 9, 2022, 7:37:33 PM (2 occurrences)
Last logged: February 9, 2022, 7:37:33 PM
Error adding entities for domain sensor with platform cox_sensor
Error while setting up cox_sensor platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 773, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 530, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 563, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 536, in _stringify_state
if (state := self.state) is None:
File "/config/custom_components/cox_sensor/sensor.py", line 138, in state
return self._state
AttributeError: 'cox_sensor' object has no attribute '_state'
HACS Component or HASS Add-On
Is there any chance you could package this into HACS or as an addon? I'm trying to move as much configuration as possible into the front-end.
Cox Sensor Errors on HA 114.1
Is this broken again?
Latest version of homeassistant, and this git
how would i find the new issuer if that is the problem, listed here
c3141a2
Problems
Don't know if related, but after upgrading HA to 0.112.1 I'm getting the following error:
`Log Details (ERROR)
Logger: homeassistant.components.sensor
Source: custom_components/cox_sensor/sensor.py:104
Integration: Sensor (documentation, issues)
First occurred: 11:23:48 PM (1 occurrences)
Last logged: 11:23:48 PM
Error while setting up cox_sensor platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 451, in _async_add_entity
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 290, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 314, in _async_write_ha_state
sstate = self.state
File "/config/custom_components/cox_sensor/sensor.py", line 104, in state
return self._state
AttributeError: 'cox_sensor' object has no attribute '_state'`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.