Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Sensors Visible #2

Open
noddy119 opened this issue Jan 19, 2024 · 1 comment
Open

No Sensors Visible #2

noddy119 opened this issue Jan 19, 2024 · 1 comment
Labels
assume solved no further response, assume solved

Comments

@noddy119
Copy link

noddy119 commented Jan 19, 2024

Hi I configure the integration with username and password, select global server I get to select my T1000 sensor but it never shows any devices or entities. I can view the device in my sensecap.seeed.cc account ok

There is an error in my log:

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:360
Integration: Sensor (documentation, issues)
First occurred: 19:50:21 (1 occurrences)
Last logged: 19:50:21

Error while setting up sensecraft platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/sensecraft/sensor.py", line 77, in async_setup_entry
entities.append(CloudSensor(deviceInfo))
^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sensecraft/sensor.py", line 171, in init
measurementInfo = MEASUREMENT_DICT[self._measurementID]
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
KeyError: '5003'

@chenwenhao568
Copy link
Collaborator

5003 measurements have been added, and default values ​​for no measurements have been added

@KillingJacky KillingJacky added the assume solved no further response, assume solved label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assume solved no further response, assume solved
Projects
None yet
Development

No branches or pull requests

3 participants