Releases: custom-components/places
Releases · custom-components/places
2.0.1 - Bugfixes and reinstates support for other devicetracker_id entity types
Be sure to note the significant and breaking chances in v2.0.0
What's Changed
- Support additional entity types by @Snuffy2 in #59
- Bugfix: Check if lat/long are none by @Snuffy2 in #58
Reinstates support for additional entity types: device_tracker, person, sensor.
YAML import
Now checks to see if the listed devicetracker_id:
- Exists
- Has latitude/longitude attributes before importing
Should no longer choose a different entity if the one in the YAML isn't supported, but instead throw an error and not import.
ToDo: Validation for the home zone import
Config_flow
- For devicetracker_id, shows all entities of the supported types but only if they have latitude/longitude attributes
- Resolve some errors experienced when trying to update the options for existing sensors
Full Changelog: 2.0...2.0.1
Significant Overhaul
Significant Overhaul
Revamped the underlying framework to use the UI for setup and configuration and to use the newer async functions to interact with Home Assistant. Logic, sensor, and event data should not change.
Once loaded, you need to remove the places
sensors from your configuration.yaml
Breaking Changes
- Remove
(since xx:yy)
from state by @Snuffy2 - Remove dashes for blank attributes by @Snuffy2
- Change distance from home km from string into float by @Snuffy2
- Update Event Data to use Attribute Names by @Snuffy2
Event Data Changes
Old Attribute | New Attribute |
---|---|
direction |
direction_of_travel |
latitude |
current_latitude |
longitude |
current_longitude |
mtime |
last_changed |
map |
map_link |
distance_from_home |
distance_from_home_km |
Other changes since 1.12
- Add State Abbreviation Attribute by @Snuffy2
- Limit state to 255 characters by @Snuffy2
- Add Hamlet to Neighbourhood by @Snuffy2
- Add Zone Name by @Snuffy2
- Add formatted place state option by @Snuffy2
- Code Formatting Cleanup with Black & isort by @Snuffy2
- Add OSM ID and Type as Attributes by @Snuffy2
- Add extended attributes by @Snuffy2
- Change 'City of' to City (ex. City of New York to New York City) by @Snuffy2
- Improve New State Checking to reduce API hits by @Snuffy2
- Improve error checking, logging and catching exceptions by @Snuffy2
- Add osm map link option by @Snuffy2
- Create last_place_name Attribute by @Snuffy2
1.12
Fixes from @licheng5625
Fix Apple map pin
Fixes #27
New Feature: language key
Merge pull request #26 from Chen-IL/language-1 New Feature: language key
Manifest
Use town/village when city is not available
1.8 Merge pull request #20 from yorickri/select-town-when-city-is-not-ava…
do_not_show_not_home option
Added an option to not show zone in state, if zone is not_home. Add "do_not_show_not_home" to options, like so:
- platform: places
name: Me
devicetracker_id: device_tracker.phone
options: zone, street, city, do_not_show_not_home
fix GPS deviation
Merge pull request #14 from Xaldimo/pr/1 Correct GPS deviation implementation
Add margin for GPS deviation
@Xaldimo Add margin for GPS deviation