Skip to content

[Feature] Include a key which is already excluded by default for a certain device #406

Description

@Z18Aplha

Problem description
I have a good reason to exclude a certain key by default. But a new device provides this key and i for this single device, i want to not exclude the key. It would be a lot of work to exclude the key for each of the other devices and the high value of the z2m plugin (auto-add devices to HomeKit with nearly no effort) would decrease.

Suggested solution
An "include_keys" property in the json config which overrides the default setting for the certain device

Describe alternatives you've considered
I see no real alternatives, which preserves the functionality with lowest effort.

Additional context
In my case, i have a lot Aqara door/window and Aqara PIR sensors. Both provides temperature readings which are unusable for me. So i excluded the "temperature" key by default. My Thermostates aren't affected by excluding the temperature because the data point is called "local_temperature" - fine. Recently, i added an Aqara Room sensor to my network to monitor my room climate.
For this device i want to see the temperature readings in HomeKit. Currently, there is a little bug in the temperature reading mentioned in #405 but not related to this request.

Are you willing to contribute to this feature?
I can discuss about a best solution and test new releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions