Skip to content

Commit

Permalink
ci: Generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Dec 12, 2024
1 parent f99676d commit 1669bcf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/api/thermostats/set_hvac_mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Sets the [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/c
```javascript
await seam.thermostats.setHvacMode({
device_id: "123e4567-e89b-12d3-a456-426614174000",
hvac_mode_setting: "heat_cool",
heating_set_point_celsius: 20,
cooling_set_point_celsius: 25,
});
Expand All @@ -35,6 +36,7 @@ await seam.thermostats.setHvacMode({
```python
seam.thermostats.set_hvac_mode(
device_id="123e4567-e89b-12d3-a456-426614174000",
hvac_mode_setting="heat_cool",
heating_set_point_celsius=20,
cooling_set_point_celsius=25,
)
Expand All @@ -55,7 +57,7 @@ ActionAttempt(
#### Request

```ruby
seam.thermostats.set_hvac_mode(device_id: "123e4567-e89b-12d3-a456-426614174000", heating_set_point_celsius: 20, cooling_set_point_celsius: 25)
seam.thermostats.set_hvac_mode(device_id: "123e4567-e89b-12d3-a456-426614174000", hvac_mode_setting: "heat_cool", heating_set_point_celsius: 20, cooling_set_point_celsius: 25)
```

#### Response
Expand All @@ -72,6 +74,7 @@ seam.thermostats.set_hvac_mode(device_id: "123e4567-e89b-12d3-a456-426614174000"
<?php
$seam->thermostats->set_hvac_mode(
device_id: "123e4567-e89b-12d3-a456-426614174000",
hvac_mode_setting: "heat_cool",
heating_set_point_celsius: 20,
cooling_set_point_celsius: 25
);
Expand All @@ -93,7 +96,7 @@ $seam->thermostats->set_hvac_mode(
#### Request

```seam_cli
seam thermostats set-hvac-mode --device_id "123e4567-e89b-12d3-a456-426614174000" --heating_set_point_celsius 20 --cooling_set_point_celsius 25
seam thermostats set-hvac-mode --device_id "123e4567-e89b-12d3-a456-426614174000" --hvac_mode_setting "heat_cool" --heating_set_point_celsius 20 --cooling_set_point_celsius 25
```

#### Response
Expand All @@ -120,6 +123,7 @@ func main() {
context.Background(),
api.ThermostatsSetHvacModeRequest{
DeviceId: api.String("123e4567-e89b-12d3-a456-426614174000"),
HvacModeSetting: api.String("heat_cool"),
HeatingSetPointCelsius: api.Float64(20),
CoolingSetPointCelsius: api.Float64(25),
},
Expand Down

0 comments on commit 1669bcf

Please sign in to comment.