Просмотр исходного кода

fix(services): modify how emitter_entity_id is configured

Only target seems to support domain directly under entity. For general
fields, it is required to go inside a filter.
Jason Rumney 1 неделя назад
Родитель
Сommit
ce65d18d1b
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      custom_components/tuya_local/services.yaml

+ 2 - 1
custom_components/tuya_local/services.yaml

@@ -15,4 +15,5 @@ send_learned_ir_command:
         text:
     emitter_entity_id:
       entity:
-        domain: infrared
+        filter:
+          - domain: infrared