-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
New template sensor attributes #26127
Merged
MartinHjelmare
merged 14 commits into
home-assistant:dev
from
gadgetchnnel:new-template-sensor-attributes
Sep 1, 2019
Merged
New template sensor attributes #26127
MartinHjelmare
merged 14 commits into
home-assistant:dev
from
gadgetchnnel:new-template-sensor-attributes
Sep 1, 2019
Conversation
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
2 tasks
MartinHjelmare
requested changes
Aug 31, 2019
MartinHjelmare
approved these changes
Sep 1, 2019
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.
Looks good!
pgilad
added a commit
to pgilad/home-assistant
that referenced
this pull request
Sep 1, 2019
…into improve-bluetooth-tracker * 'dev' of https://github.com/home-assistant/home-assistant: (229 commits) New template sensor attributes (home-assistant#26127) Add BeeWi SmartClim BLE sensors (home-assistant#26174) UniFi - Simplify getting controller from config entry (home-assistant#26335) Inverted rflink cover (home-assistant#26038) Upgrade tibber library (home-assistant#26332) Migrate Axis, deCONZ and UniFi to use config entry subclass (home-assistant#26173) Upgrade sqlalchemy to 1.3.8 (home-assistant#26331) Change evohome to asyncio client (home-assistant#26042) Add support for Supla switches (home-assistant#26188) Add a keypress service for AlarmDecoder (home-assistant#26100) Fix google_maps scan interval (home-assistant#26328) Upgrade youtube_dl to 2019.09.01 (home-assistant#26330) Fix onvif camera setup error (home-assistant#24585) UniFi - use entity registry disabled_by to control available entities (home-assistant#26141) Fetch Onkyo current radio preset (home-assistant#26211) Add precision argument to the Range Filter (home-assistant#25874) Fix alexa bad temp sensors (home-assistant#26307) deCONZ - Dont update entry if data is equal Add Withings support (home-assistant#25154) Add support for Homekit accessory battery sensors (home-assistant#26210) ...
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description:
Similar to PR #22664, which did this for the template binary sensor, this adds an option to add custom attributes to the sensor via a new attribute_templates config option.
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#10204
Example entry for
configuration.yaml
(if applicable):Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code does not interact with devices: