mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-21 18:19:51 +00:00
chore: Fix cosmetic in homeassistant.ts (#19239)
* Update homeassistant.ts * Update homeassistant.ts - remove double bracket in condition No idea if this is what is causing code to be ignored in certain circumstances, but anyway this is cleansing code --------- Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
@@ -902,7 +902,7 @@ export default class HomeAssistant extends Extension {
|
||||
* Note: currently both sensor and select are discovered, this is to avoid
|
||||
* breaking changes for sensors already existing in HA (legacy).
|
||||
*/
|
||||
if ((firstExpose.access & ACCESS_SET)) {
|
||||
if (firstExpose.access & ACCESS_SET) {
|
||||
discoveryEntries.push({
|
||||
type: 'select',
|
||||
object_id: firstExpose.property,
|
||||
|
||||
Reference in New Issue
Block a user