@henaa wrote:
Hi
I have some issue I create ping request to show if the TV on or off
I used esp8226 with tasmosta and Broadlink
In the configuration.yaml this my codebinary_sensor: - platform: ping name: "living room tv state" host: 192.168.1.38 count: 1 scan_interval: 5
I create some Good night automation
- id: '1578133636557' alias: Good Night description: '' trigger: - entity_id: binary_sensor.switch_158d00027bf8e8 from: 'off' platform: state to: 'on' condition: [] action: - data: entity_id: switch.living_room_tv_fused service: switch.turn_off
The problem if the TV turn on its wotk good but if the TV is turn off and i used the automation its turn on the TV
what you suggest to fix this isuue?
Posts: 1
Participants: 1