Add explicit device name to Broadlink#95516
Conversation
|
Hey there @Danielhiversen, @felipediel, @L-I-Am, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
|
Hi. Thanks for the contribution! A quick review... BroadlinkRMSwitch doesn't have _attr_has_entity_name = True. |
This reverts commit ed94145.
You mean shouldn't have? I wasn't completely sure this last change was good (but my laptop was empty so now I'm in the office and I checked it), so I now reverted this change. How come that switch doesnt have that? |
|
They are configured via YAML. We still need to create a flow to configure them via interface, so they are a bit different from other entities. |
Aah check, for now this change will solve the issue then. |
Proposed change
Add explicit device name to Broadlink. Apparently every instance of Broadlink entity has _attr_has_entity_name = True. So moved it to the superclass.
Type of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.To help with the load of incoming pull requests: