Last active
January 17, 2021 12:48
-
-
Save ganey/367248a8170fe6f297dbbe256d17d395 to your computer and use it in GitHub Desktop.
Electricity Price HomeAssistant BluePrint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Electricity Price Blueprint | |
description: Call Service based on electricity price | |
domain: automation | |
input: | |
price_sensor: | |
name: Price Sensor | |
description: This sensor will be checked for price. | |
limit_number: | |
name: Max Price | |
description: The price limit to call the service | |
target_service: | |
name: Service | |
description: The service to call when the price goes above the limit | |
trigger: | |
platform: numeric_state | |
entity_id: !input price_sensor | |
above: !input limit_number | |
action: | |
service: !input target_service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use this with an Octopus Energy pricing sensor to stop/start folding@home / bitcoin mining during peak pricing