i have the Sense energy component and it creates sensors for all the devices it discovers which increase over time due to the products very nature. The problem for m is that there is no namespace other then the device name itself… so when sense detects my dryer is crests the sensor.dryer. The disposal turns into sensor.disposal, and a random light can become sensor.light
i’d like to namespace them somehow, so ideally these would become
sensor.sense_dryer
sensor. sense_disposal
sensor. sense_light
ect
i tried using the entity_namespace attribute but that didn’t seem to work for it under the sense: config… i also tried under customizations but that didn’t have an effect either…
Failed config
sense:
- Invalid config for [sense]: [entity_namespace] is an invalid option for [sense]. Check: sense->sense->entity_namespace. (See ?, line ?). Please check the docs at https://home-assistant.io/components/sense/
- alexa: ?
So how can I submit a PR to make it support this ? Why would an integration choose to not support this ?
If you plan to enhance the Sense integration (i.e. modify its source code) and request to have those changes merged into the repository, then you’ll do that via a Pull Request (Github).
If you think this is a bug (the code supports entity_namespace but is failing to do it properly), then you’ll report it as an Issue (Github).
If the Sense integrations lacks support for entity_namespace then you’ll want to submit a Feature Request (community forum).