phier
(john)
1
hello
i am trying to create some automation…but struggling where to find “options/ states etc of specific entities…”
for example i have switch defined in config
switch:
- platform: orvibo
discovery: false
but i have no idea how to change its state based on some event…
also i have media player… and i want to start the playback …
but it doesnt do anything with Play
thanks!
Tinkerer
(aka DubhAd on GitHub)
2
A condition checks things - it doesn’t do anything.
You need to use Call a service to use the service calls, to play media.
phier
(john)
3
not sure … as its
i cant access that specific media player within call service,
also regarding the switch there is no option to change states? thanks
Tinkerer
(aka DubhAd on GitHub)
4
I am sure enough for both of us Thankfully the docs explain it.
also regarding the switch there is no option to change states? thanks
Sure, using the switch.turn_on
and switch.turn_off
services
1 Like
phier
(john)
5
dont get that link hm … hows test a condition linked with media player? ;/
Tinkerer
(aka DubhAd on GitHub)
6
You said i want to start the playback and showed an image of a state condition
That is testing a condition - which isn’t what you want, you want the service call I linked to.
phier
(john)
7
sorry dont get it …
I said i want to execute Playback on device media_player.obyvak_b_w
also service Switch turn off … doesnt work … basicaly that switch is not inside Targets…
finity
8
Since you seem to be struggling with the basics maybe these sections of the docs would be better to get you started.
1 Like