20260326
This commit is contained in:
11
integrations/oplaadpalen_status.yaml
Normal file
11
integrations/oplaadpalen_status.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
sensor:
|
||||
- platform: rest
|
||||
name: Oplaadpaal Status Raw
|
||||
resource_template: >-
|
||||
https://www.oplaadpalen.nl/api/map/location/{{ state_attr('sensor.oplaadpaal_wms_raw','external_reference') }}
|
||||
scan_interval: 300
|
||||
value_template: "{{ value_json.status }}"
|
||||
json_attributes:
|
||||
- connectors
|
||||
- address
|
||||
- operator
|
||||
10
integrations/oplaadpalen_wms.yaml
Normal file
10
integrations/oplaadpalen_wms.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
sensor:
|
||||
- platform: rest
|
||||
name: Oplaadpaal WMS Raw
|
||||
resource: >-
|
||||
https://www.oplaadpalen.nl/wms?REQUEST=GetFeatureInfo&SERVICE=WMS&SRS=EPSG:4326&VERSION=1.1.1&INFO_FORMAT=application/json&BBOX=5.267669304739685,51.69227556528449,5.278258665930481,51.696235849735146&HEIGHT=1191&WIDTH=1974&LAYERS=eco:rta_and_clusters&QUERY_LAYERS=eco:rta_and_clusters&X=752&Y=571
|
||||
scan_interval: 3600
|
||||
value_template: "{{ value_json.features | length }}"
|
||||
json_attributes_path: "$.features[0].properties"
|
||||
json_attributes:
|
||||
- external_reference
|
||||
1
integrations/restfull.yaml
Normal file
1
integrations/restfull.yaml
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
---
|
||||
# https://www.home-assistant.io/integrations/sensor/
|
||||
sensor: !include_dir_list ../entities/sensors
|
||||
sensor: !include_dir_list ../entities/sensors
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
telegram_bot:
|
||||
- platform: polling
|
||||
api_key: "7224749574:AAHBrPhHkibEU9KJsnQ0bAHO-cB_sXRun1I"
|
||||
allowed_chat_ids:
|
||||
- 17370240
|
||||
|
||||
notify:
|
||||
- platform: telegram
|
||||
name: "sarah"
|
||||
chat_id: 17370240
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
# https://www.home-assistant.io/integrations/template/
|
||||
template: !include_dir_list ../entities/templates
|
||||
#template: !include_dir_list ../entities/templates
|
||||
template: !include_dir_merge_list ../entities/templates
|
||||
|
||||
Reference in New Issue
Block a user