Added and customized FlightRadar
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- id: '1729875991469'
|
||||
- id: "1729875991469"
|
||||
alias: BagnoOvest-save-energy
|
||||
description: Thermostat will close upon window open
|
||||
use_blueprint:
|
||||
@@ -6,27 +6,27 @@
|
||||
input:
|
||||
window_sensor: binary_sensor.bagnoovest_finestra_contact
|
||||
climate_target: climate.bagnoovest_termosifone
|
||||
- id: '1729887529602'
|
||||
- id: "1729887529602"
|
||||
alias: BagnoPT-save-energy
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/heat_save.yaml
|
||||
input:
|
||||
window_sensor: binary_sensor.bagnopt_finestra_contact
|
||||
climate_target: climate.bagnopt_termosifone
|
||||
ext_temp_limit: 17
|
||||
- id: '1729887632269'
|
||||
- id: "1729887632269"
|
||||
alias: SoggiornoPT-save-energy
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/heat_save.yaml
|
||||
input:
|
||||
window_sensor: binary_sensor.soggiornopt_finestrasud_contact
|
||||
climate_target: climate.soggiornopt_termosifonesud
|
||||
ext_temp_limit: 17
|
||||
- id: '1731705145404'
|
||||
- id: "1731705145404"
|
||||
alias: Luce Automatica Scala Mansarda
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/motion_light_dual_ng.yaml
|
||||
input:
|
||||
@@ -34,9 +34,9 @@
|
||||
motion_entity2: binary_sensor.presenza_bassa_scala_mansarda_occupancy
|
||||
light_target:
|
||||
device_id: 702137a6f2c17b89fdb0598f7003743c
|
||||
- id: '1731705400752'
|
||||
- id: "1731705400752"
|
||||
alias: Luce Automatica Scala Taverna
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/motion_light_dual_ng.yaml
|
||||
input:
|
||||
@@ -46,9 +46,9 @@
|
||||
device_id: 226779fb30bd68c5a2784ccd762d90e9
|
||||
use_sun: false
|
||||
dont_disturb: false
|
||||
- id: '1732739522749'
|
||||
- id: "1732739522749"
|
||||
alias: Luce Automatica Taverna Garage
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/motion_light_trix_ng.yaml
|
||||
input:
|
||||
@@ -60,17 +60,17 @@
|
||||
use_sun: false
|
||||
dont_disturb: false
|
||||
no_motion_wait: 40
|
||||
- id: '1736805701473'
|
||||
- id: "1736805701473"
|
||||
alias: P1confort-light
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/confort_light.yaml
|
||||
input:
|
||||
light_target:
|
||||
device_id: e0397b54f1c2d1514be403e2996ca368
|
||||
- id: '1738366774549'
|
||||
- id: "1738366774549"
|
||||
alias: Test-motion-light-ng
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/motion_light_dual_ng.yaml
|
||||
input:
|
||||
@@ -80,17 +80,17 @@
|
||||
device_id: 9f46c5b7c07f1495e0f4bf8d6f72a525
|
||||
no_motion_wait: 0
|
||||
dont_disturb: false
|
||||
- id: '1738426726761'
|
||||
- id: "1738426726761"
|
||||
alias: Test-Pulsante01
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/button_action.yaml
|
||||
input:
|
||||
light_target:
|
||||
entity_id: light.test_lamp1
|
||||
- id: '1738952270274'
|
||||
- id: "1738952270274"
|
||||
alias: Test-EVcharge-process
|
||||
description: ''
|
||||
description: ""
|
||||
use_blueprint:
|
||||
path: homeassistant/evcharge-process.yaml
|
||||
input:
|
||||
@@ -101,10 +101,11 @@
|
||||
use_entity1: input_boolean.evcharge_front_request
|
||||
use_entity2: input_boolean.evcharge_back_request
|
||||
start_button: input_button.evcharge_start
|
||||
- id: '1739185900251'
|
||||
- id: "1739185900251"
|
||||
alias: EVcharge-process
|
||||
description: 'Charge sequentially via both front and back plugs depending on EVcharge
|
||||
request flags '
|
||||
description:
|
||||
"Charge sequentially via both front and back plugs depending on EVcharge
|
||||
request flags "
|
||||
use_blueprint:
|
||||
path: homeassistant/evcharge-process.yaml
|
||||
input:
|
||||
|
||||
@@ -22,6 +22,9 @@ binary_sensor: !include binary_sensors.yaml
|
||||
# DO NOT remove - Sets MariaDB as database
|
||||
recorder:
|
||||
db_url: !secret mariadb_url
|
||||
exclude:
|
||||
entity_globs:
|
||||
- sensor.flightradar24*
|
||||
|
||||
# log INFO level messages
|
||||
logger:
|
||||
|
||||
29
examples/flight radar_card_template.yaml
Normal file
29
examples/flight radar_card_template.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
type: vertical-stack
|
||||
title: Flightradar24
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: sensor.flightradar24_current_in_area
|
||||
name: In area
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity: sensor.flightradar24_current_in_area
|
||||
above: 0
|
||||
card:
|
||||
type: markdown
|
||||
content: >-
|
||||
{% set data = state_attr('sensor.flightradar24_current_in_area',
|
||||
'flights') %} {% for flight in data %}
|
||||
<ha-icon icon="mdi:airplane"></ha-icon>{{ flight.flight_number }}({{ flight.aircraft_registration }}) - {{ flight.airline_short }} - {{ flight.aircraft_model }}
|
||||
{{ flight.airport_origin_city }} ({{ flight.airport_origin_code_iata }} - {{ flight.airport_origin_code_icao }}) {%if flight.airport_origin_city %}<img src="https://flagsapi.com/{{ flight.airport_origin_country_code }}/shiny/16.png" title='{{ flight.airport_origin_country_name }}'/>{% endif %} -> {{ flight.airport_destination_city }} ({{ flight.airport_destination_code_iata }} - {{ flight.airport_destination_code_icao }}) {%
|
||||
if flight.airport_destination_country_code %}<img src="https://flagsapi.com/{{ flight.airport_destination_country_code }}/shiny/16.png" title='{{ flight.airport_destination_country_name }}'/>{% endif %}
|
||||
{%if flight.time_scheduled_departure %}Departure - {{ flight.time_scheduled_departure | timestamp_custom('%H:%M') }}; {% endif %}{%if flight.time_scheduled_arrival%}Arrival - {{ flight.time_scheduled_arrival | timestamp_custom('%H:%M') }}{% endif %}
|
||||
Altitude - {{ flight.altitude }} ft{%if flight.altitude > 0 %} ({{(flight.altitude * 0.3048)| round(0)}} m){% endif%}; Gr. speed - {{ flight.ground_speed }} kts{%if flight.ground_speed > 0 %} ({{(flight.ground_speed * 1.852)| round(0)}} km/h){% endif%}
|
||||
Heading {{ flight.heading }}deg; Vert. Speed - {{ flight.vertical_speed }} ft/min
|
||||
{% endfor %}
|
||||
- type: iframe
|
||||
url: >-
|
||||
https://www.flightradar24.com/simple?lat=45.6877&lon=9.2485&z=12&label1=reg&size=small
|
||||
aspect_ratio: 100%
|
||||
|
||||
Reference in New Issue
Block a user