question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switching hot water on does not work in scripts

See original GitHub issue

Odd bug, but calling wiser.set_hotwater_mode / hotwater_mode: on in the developer tools works, but doing the same in scripts does not. What am I doing wrong?

This works: 1_ThisWorks

This does not: 2_ThisDoesNot

script:
  # Hot Water On
  wiser_hot_water_on:
    alias: 'Wiser: Hot Water On'
    sequence:
    - service: wiser.set_hotwater_mode
      data:
        hotwater_mode: on

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
DrJohnTcommented, Apr 3, 2020

Hi Angelo , Simply switching around my YAML made it work.

Thanks!

0reactions
asantagacommented, Apr 3, 2020

I just tested it here from Services and Scripts and it appears to work fine…

I configured the script using the UI, instead of YAML and then fired it from HA

My script looks like this (generated output taken from the scripts.yaml file

'1585902280452':
  alias: testHW
  sequence:
  - data:
      hotwater_mode: 'on'
    service: wiser.set_hotwater_mode
~
Read more comments on GitHub >

github_iconTop Results From Across the Web

No Hot Water in Your RV? Try This Simple Fix First! - RV Geeks
No hot water in your RV? Today we'll show you how to troubleshoot this issue, and we may even show you exactly how...
Read more >
Plumbers recommend turning off water heater during ... - WAPT
Plumbers say that when the water goes out for more than 24 hours, homeowners should turn off their water heater.
Read more >
RV Water Heater Troubleshooting Made Easy - RV Repair Club
In fact, with the help of this expert-taught, step-by-step video you can enjoy the satisfaction of both a hot shower and the knowledge...
Read more >
RV Water Heater Overview and Troubleshoot
Of course you won't find unlimited hot water and those little bottles of shampoo and ... The switch for the water heater is...
Read more >
Your Dishwasher Is Not Heating Up Water or Drying - SOS Parts
1. One possibility is that your dishwasher is not plumbed in properly and a siphoning problem is occurring. If your dishwasher's drain hose...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found