Skip to content

Conversation

@stirante
Copy link

Describe your changes

This PR adds Current CO2 sensor from ALPSTUGA.

Currently it's waiting for this PR to be merged and released: Leggin/dirigera#124

In the meantime, you can change requirements.txt and manifest.json base lib to dirigera @ git+https://github.com/stirante/dirigera@main

Checklist before submitting a pull request

  • Updated base lib and added the required version in the requirements.txt and manifest.json

Checklist for reviewer

  • Select "Squash and merge" to keep commit timeline clean

@noahwilliamsson
Copy link

Nice work!

In the meantime, you can change requirements.txt and manifest.json base lib to dirigera @ git+https://github.com/stirante/dirigera@main

I applied the changes from your PR and edited those files, and can confirm it works as expected. Nice work and thank you!

name="CO2",
device_class=SensorDeviceClass.CO2,
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To enable long-term statistics for this sensor, and allow the use of the Statistics or Statistics graph cards, can you add this property?

state_class=SensorStateClass.MEASUREMENT

(Just realized this problem is present for a bunch of other IKEA environment sensors as well -- currently the statistics card only shows the temperature sensor but not humidity etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants