-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
avatto_trv06_radiatorvalve.yaml addon … Issue #2457 #2465
Open
ciscolyon69
wants to merge
4
commits into
make-all:main
Choose a base branch
from
ciscolyon69:Issue2457
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
708c7cf
addon Battery frost_protection scale_protection local_temperature_cal…
ciscolyon69 12d38cb
Merge branch 'main' into Issue2457
ciscolyon69 e6dfa7a
Update avatto_trv06_radiatorvalve.yaml
ciscolyon69 a96028a
Merge branch 'main' into Issue2457
make-all File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ primary_entity: | |
- id: 3 | ||
type: string | ||
name: hvac_action | ||
optional: true | ||
mapping: | ||
- dps_val: opened | ||
value: heating | ||
|
@@ -52,3 +53,53 @@ secondary_entities: | |
type: boolean | ||
optional: true | ||
name: lock | ||
- entity: binary_sensor | ||
class: battery | ||
category: diagnostic | ||
dps: | ||
- id: 35 | ||
type: bitfield | ||
name: sensor | ||
class: measurement | ||
mapping: | ||
- dps_val: 0 | ||
value: false | ||
- value: true | ||
- entity: switch | ||
translation_key: anti_frost | ||
category: config | ||
dps: | ||
- id: 36 | ||
type: boolean | ||
name: switch | ||
optional: true | ||
mapping: | ||
- dps_val: null | ||
value: false | ||
hidden: true | ||
- entity: switch | ||
name: Antiscale | ||
category: config | ||
icon: "mdi:shimmer" | ||
dps: | ||
- id: 39 | ||
type: boolean | ||
name: switch | ||
optional: true | ||
mapping: | ||
- dps_val: null | ||
value: false | ||
hidden: true | ||
- entity: number | ||
name: Temperature calibration | ||
category: config | ||
icon: "mdi:thermometer-check" | ||
dps: | ||
- id: 47 | ||
type: integer | ||
optional: true | ||
name: value | ||
unit: C | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unit needs to be ° since we need to avoid unit conversion in the case the user has their display preference in HA set to F, so that 0 is always 0. |
||
range: | ||
min: -9 | ||
max: 9 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In other devices that use a bitfield to indicate low battery, the low battery indication is a specific bit, and there will often be other bits indicating other things like charging. To avoid falsely indicating a low battery, it would be better to identify which bit is indicating low battery, and map that bit to true, with the default mapping being false.