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:
kds69
2023-10-10 22:05:19 +02:00
committed by GitHub
co-authored by Koen Kanters
parent 9cff19b322
commit bd57f45929
+1 -1
View File
@@ -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,