Powiadomienia
Wyczyść wszystko

UWAGAStrona oraz Forum Smart'ny Dom nie będzie dostępne 23 Grudnia 2024 ze względu na przenoszenie serwisu na mocniejszą maszynę.

W tym czasie polecam poświęcenie swojego czasu na pomoc partnerowi w przygotowaniu udanych Świąt 😉

Za niedogodności z góry przepraszam, admin

Kontakt

Pytanie HA pole wyboru

6 Wpisów
2 Użytkownicy
2 Reactions
97 Wyświetleń
pawell32
(@pawell32)
Wpisów: 1336
Guru
Autor tematu
 

cześć,

korzystam z pomocników tj. pole wyboru. Mam encję, rozwijane menu i wybieram opcję. Problem jest wówczas, kiedy z automatu ustawia się opcja np. za pomocą Node-Red. Po tym po rozwinięciu jest widoczna tylko statnio wybrana. Macie na to jakiś sposób?

image
 
Dodane : 15/11/2024 12:52 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@pawell32 nie miałem takiego przypadku, może coś w tym flow jest nie tak 

 
Dodane : 18/11/2024 8:45 am
pawell32
(@pawell32)
Wpisów: 1336
Guru
Autor tematu
 
[{"id":"30ed62c9825dd156","type":"tab","label":"Flow 3","disabled":false,"info":"","env":[]},{"id":"b300ad11e4ae8d80","type":"api-call-service","z":"30ed62c9825dd156","name":"pole","server":"3d7533d10bf6d654","version":7,"debugenabled":false,"action":"input_select.set_options","floorId":[],"areaId":[],"deviceId":[],"entityId":["input_select.pole"],"labelId":[],"data":"{\"options\":\"{{payload}}\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"input_select","service":"set_options","x":430,"y":160,"wires":[[]]},{"id":"d470e2d8a0ad42f6","type":"inject","z":"30ed62c9825dd156","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"dzień","payloadType":"str","x":220,"y":160,"wires":[["b300ad11e4ae8d80"]]},{"id":"d0d6ef6d3c8494f8","type":"inject","z":"30ed62c9825dd156","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"noc","payloadType":"str","x":220,"y":80,"wires":[["b300ad11e4ae8d80"]]},{"id":"f4058bcc5800c2f4","type":"inject","z":"30ed62c9825dd156","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"rano","payloadType":"str","x":220,"y":120,"wires":[["b300ad11e4ae8d80"]]},{"id":"1c727684af262d87","type":"inject","z":"30ed62c9825dd156","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"praca","payloadType":"str","x":220,"y":200,"wires":[["b300ad11e4ae8d80"]]},{"id":"dab9d2d9e79d9476","type":"inject","z":"30ed62c9825dd156","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"weekend","payloadType":"str","x":230,"y":240,"wires":[["b300ad11e4ae8d80"]]},{"id":"19203173bbc3463d","type":"inject","z":"30ed62c9825dd156","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"poza domem","payloadType":"str","x":240,"y":280,"wires":[["b300ad11e4ae8d80"]]},{"id":"3d7533d10bf6d654","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":": ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"default","statusTimeFormat":"h:m","enableGlobalContextStore":false}]

może to mam źle, taka opcja zadziałała

 
Dodane : 18/11/2024 9:30 am
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

Dodane przez: @pawell32

może to mam źle

Sprawdź to, twój przepływ pięknie blokuje selektor 🙂

[{"id":"f76ac12ceb32d6e1","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"c20d7c2633025512","type":"inject","z":"f76ac12ceb32d6e1","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"dzień","payloadType":"str","x":170,"y":160,"wires":[["d982f6e67051828f"]]},{"id":"1d59175fde968368","type":"debug","z":"f76ac12ceb32d6e1","name":"debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":680,"y":140,"wires":[]},{"id":"d982f6e67051828f","type":"api-call-service","z":"f76ac12ceb32d6e1","name":"pole","server":"1a9033b6.071e8c","version":7,"debugenabled":false,"action":"input_select.select_option","floorId":[],"areaId":[],"deviceId":[],"entityId":["input_select.pole"],"labelId":[],"data":" {\"option\":\"{{payload}}\"}","dataType":"json","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":true,"domain":"input_select","service":"select_option","x":430,"y":160,"wires":[["1d59175fde968368"]]},{"id":"f1f2900c7c701452","type":"inject","z":"f76ac12ceb32d6e1","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"noc","payloadType":"str","x":170,"y":220,"wires":[["d982f6e67051828f"]]},{"id":"1a9033b6.071e8c","type":"server","name":"Dom","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":false,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false}]

 

 
Dodane : 18/11/2024 10:51 am
pawell32 reacted
pawell32
(@pawell32)
Wpisów: 1336
Guru
Autor tematu
 

dzięki, porównałem obydwa i znalazłem swój błąd. Jak to jedna litera, której nie widziałem 🙂 zrobiła różnicę. Dobrze wybierałem, tylko nie wiedziałem, czemu ta opcja nie działa. Z rozpędu wstawiałem >options< 

nr1
nr2
 
Dodane : 18/11/2024 12:20 pm
isom
 isom
(@isom)
Wpisów: 5190
Szef wszystkich szefów Moderator Zasłużony dla Forum, Donator 2K19, Donator 2K20
 

@pawell32 na przyszłość jak będziesz miał wątpliwości masz możliwość sprawdzenia w narzędziach

1

 Wszystko ładnie gotowe do wstawienia 🙂

 
Dodane : 18/11/2024 9:07 pm
pawell32 reacted
Udostępnij: