Add multiple sensor types for Trafikverket#6006
Add multiple sensor types for Trafikverket#6006MartinHjelmare merged 5 commits intohome-assistant:nextfrom endor-force:patch-1
Conversation
Added precipitation instructions according to code change in sensor.
| type: string | ||
| type: | ||
| description: Defines which temperature you want (`air` or `road`). | ||
| description: Defines which data you want (`air`, `road` or `precipitation`). |
There was a problem hiding this comment.
Maybe we could clarify that the first two are about the temperature?
|
I will investigate possibilities to extend and use pytrafikverket lib.. |
Breaking changes introduced new way of retreiving data from weatherstations using library. Multiple sensors added and configuration needs to be update.
| ``` | ||
|
|
||
| {% configuration %} | ||
| name: |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
| required: true | ||
| type: string | ||
| monitored_conditions: | ||
| description: Conditions to display in the frontend. |
There was a problem hiding this comment.
This doesn't have anything to do with the frontend per se, but decides what entities will be created for the platform, ie what states to track.
There was a problem hiding this comment.
Good input, i will clarify
MartinHjelmare
left a comment
There was a problem hiding this comment.
Looks good! If you can add ha_iot_class too to the front matter that would be good. It should be cloud polling.
ha_iot_class: "Cloud Polling" Added in header.
|
Done, don't really know why it says i dismissed your review ;) |
|
We've set up github to automatically do that when new changes are pushed to require a new review. |
Description:
Added precipitation instructions according to code change in sensor. Breaking change in configuration.
Pull request in home-assistant (if applicable): home-assistant/core#15935
Checklist:
current. New documentation for platforms/components and features should go tonext.