Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102810

Create button that will Run A/C at set temp and time

$
0
0

I was wondering if someone could help me create an automation that will turn my A/c on a specific temp and run for 3:30 hours @1am after i click a button in lovelace. then the button will reset to off at 5am

alias: Run A/C tonight
description: ''
mode: restart
trigger:
  - platform: state
    entity_id: input_button.run_a_c_tonight
    from: 'off'
    to: 'on'
condition: []
action:
  - service: climate.set_temperature
    data:
      temperature: 64
      hvac_mode: cool
    target:
      entity_id: climate.kitchen

That is my code but i want to trigger the button in lovelave and then have it run at a set time.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 102810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>