Skip to content

Commit

Permalink
Merge pull request #24 from psi-4ward/feat/heater-temp_step
Browse files Browse the repository at this point in the history
feat(heater): Add temp_step option
  • Loading branch information
dixi83 authored Jan 14, 2025
2 parents 41d2670 + 109f13f commit 7528e3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ properties:
max_temp:
description: "The maximum value of the heater widget in Home Assistant"
type: number
temp_step:
type: number
description: "Step size for temperature set point."
required:
- type
- name
Expand Down
1 change: 1 addition & 0 deletions devices/heater.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ module.exports = class devHeater extends device {
'name',
'min_temp',
'max_temp',
'temp_step'
].forEach((key) => {
if(this.config[key]) {
info[key] = this.config[key];
Expand Down

0 comments on commit 7528e3d

Please sign in to comment.