ims-custom-component
ims-custom-component copied to clipboard
[FR] More feature requests
Hi again,
I know that it's not the best practice to post list of issues/FR under one item, but before creating multiple thought to have it as single, and whatever will be decided, we will close / split that item, anything below is not just a suggestion for improvement / new feature, but also suggestion that i will implement and do PR for it, just don't want to work for nothing... hope it is ok
- Improvement - Current UV Level (ims_current_uv_level) – use the API lookups and names, use the language parameter of the API to generate translation (not in runtime).
More details: seems like calculated within the integration, no need to calculate it and declare values, it can be extracted from the API.
Solution: Endpoint below (7=Natanya, although they call it Natania) provides ability to extract also levels out of it within property - colorbar it has thresholds for UV levels, heat stress, wave height.
-
Improvement - Remove sensor.ims_is_raining or at least change it to binary as its name implies for true/false
-
Improvement - Change unit of measurement for sensor.ims_forecast_time to timestamp, will allow presenting it as X minutes ago, bit more clearer
-
New feature - Warnings can be translated to events on map can be extracted from warnings property, mapped to areas (region)
-
New feature - Configuration for location can be based on coordinates of HA, if not found, choose from a list of cities from locations property
-
New feature - Wind direction can be added as sensor joined with wind_directions property
-
New feature - All entities linked to city device - name of the city as device name
-
New feature – On top of the above, allow to choose automatically generate devices by zones, in that case, name of the device will be the zone, for cases when zone is not available within the range of coordinates, allow the user to set manually using a service (add city – getting back to item above) - suggested as part of #26 .
Endpoints: • City portal - https://ims.gov.il/en/city_portal/{CITYID} • Locations - ims.gov.il/en/locations_info