Comments (8)
I took a stab at this by manually modifying my local copy of custom_components/sector/sensor.py to include:
def __init__(self, hub, coordinator, sensor, name):
self._hub = hub
super().__init__(coordinator)
self._serial = sensor
self._name = name
self._state = None
self._uom = TEMP_CELSIUS
self._deviceclass = DEVICE_CLASS_TEMPERATURE
self._stateclass = "measurement"
...
@property
def state_class(self):
return self._stateclass
However, even after multiple integration reloads and HA core restarts I'm not seeing the temperature sensors available from the Statistics card. I have been able to prove that my modifications are being used, e.g. by adding "debug attributes" which show up in the UI. Not sure where to go from here...
from sector.
Just glancing this new "function" what you did should fix it but I also saw it could take a few hours before you have any data to display but since I have not tested myself I can not confirm.
I will work out a new beta shortly and let you test it so you can confirm if it works or not by then. Let's work it out together.
from sector.
It's been running since I posted this and the sensors still aren't showing up in the statistics card, so I don't think a few hours and another reload/restart cycle helped. Happy to test a new version!
from sector.
The new v0.3.4-beta1 release just made should (I hope) solve this issue.
from sector.
Can you properly tag that release so that it shows up in HACS?
from sector.
Can you properly tag that release so that it shows up in HACS?
It is. Turn off/on beta and it should be there.
from sector.
Found it, thanks! The temperature sensors now show up in the statistics card. Hope to see some nice data soon :)
from sector.
Solved in latest release v0.3.4
from sector.
Related Issues (20)
- email used as "changed_by" HOT 4
- Upgraded to latest release and now the integration is not working HOT 1
- Feature request: add doors and windows sensor status
- Feature request: Add smoke detector status
- Door lock HOT 1
- False arming/disarming. HOT 13
- Integration stuck in "Pending" HOT 2
- Attribute changed_by not updated on state change
- Platform sector does not generate unique IDs.
- Retrying setup HOT 1
- Sector Alarm's API called too often! HOT 10
- Sector Yale: Failed to call lock/unlock HOT 13
- Two alarm system on same email/login account HOT 2
- Problems with retrieving temperature readings HOT 1
- Get Temperature HOT 1
- QuickArm without code HOT 8
- Setting up connection with temp sensors fail
- Entity None - Warning
- Need to reconfigure after 24h HOT 1
- New alarm system from Sector does not show alarm status HOT 2
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.
from sector.