mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
replaced DarkSky with PirateWeather. Video to follow
This commit is contained in:
@@ -98,13 +98,13 @@ rules:
|
||||
|
||||
- name: temp_darksky
|
||||
entities:
|
||||
- sensor.dark_sky_temperature
|
||||
- sensor.pirateweather_temperature
|
||||
text_template: '${entity.state ? Math.ceil(entity.state) + "°": "undefined"}'
|
||||
class_template: 'return "static-temp";'
|
||||
|
||||
- name: text_states
|
||||
entities:
|
||||
- sensor.dark_sky_minutely_summary
|
||||
- sensor.pirateweather_minutely_summary
|
||||
text_template: '${entity.state ? entity.state : "undefined"}'
|
||||
class_template: 'return "static-text";'
|
||||
|
||||
@@ -127,8 +127,8 @@ rules:
|
||||
|
||||
- name: Dark Sky Sensors
|
||||
entities:
|
||||
- entity: sensor.dark_sky_minutely_summary
|
||||
element: sensor.dark_sky_minutely_summary_icon
|
||||
- entity: sensor.pirateweather_minutely_summary
|
||||
element: sensor.pirateweather_minutely_summary_icon
|
||||
|
||||
image_template: '
|
||||
var imageName = "";
|
||||
|
Reference in New Issue
Block a user