Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation #18

Open
icepicknz opened this issue Oct 15, 2021 · 1 comment
Open

Automation #18

icepicknz opened this issue Oct 15, 2021 · 1 comment

Comments

@icepicknz
Copy link

I'm trying to create automations in HA but I only have a couple of entities
-MelView Dry Room current temperature
-MelView Dry Room heating
-MelView Dry Room target temperature

I'm looking for a state so I can say "if someone turns on "[dry room] then turn off after [8hrs]"

Any idea how I get the state into there of on or off?

@icepicknz
Copy link
Author

would this be correct

`alias: Turn Off Dry room after timer
description: Turn Off dry room after 8hrs
mode: single
trigger:

  • platform: state
    entity_id: climate.melview_dry_room
    to: auto, heat, cool, dry, fan_only
    for:
    hours: 8
    minutes: 0
    seconds: 0
    milliseconds: 0
    condition: []
    action:
  • service: climate.set_hvac_mode
    data:
    hvac_mode: 'off'
    `

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant