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
<?php | |
class Test extends TestCase { | |
public function test_function_that_makes_api_request(){ | |
add_filter('pre_http_request', function(){ | |
return [ | |
'body' => [ | |
'id' => 1, | |
], |
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: Heating Control (Basic Switch with Hysteresis & Global Heating Season) | |
description: > | |
Control your heating switch based on a lower and an upper temperature threshold, | |
a time window, and a global heating season condition. When the heating season is off, | |
the heating will be forced off across all zones. | |
domain: automation | |
input: | |
heating: | |
name: Heating Switch |
OlderNewer