Skip to content

Commit

Permalink
Fixing bunch of errors from logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
BeardedTinker committed Nov 3, 2023
1 parent 5a81314 commit 4668b1a
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 27 deletions.
2 changes: 1 addition & 1 deletion automations/locations/school.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trigger:
- platform: numeric_state
entity_id:
- proximity.school
above: '100'
above: 100

condition:
condition: template
Expand Down
2 changes: 1 addition & 1 deletion entities/templates/energy_cost_daily_offpeak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- name: Daily Offpeak Energy Cost
state: "{{ ((states('sensor.daily_energy_offpeak')|float ) * states('input_number.offpeak_energy_cost')|float) }}"
unit_of_measurement: "EUR"
state_class: measurement
#state_class: measurement
device_class: monetary
2 changes: 1 addition & 1 deletion entities/templates/energy_cost_daily_peak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- name: Daily Peak Energy Cost
state: "{{ ((states('sensor.daily_energy_peak')|float ) * states('input_number.peak_energy_cost')|float) }}"
unit_of_measurement: "EUR"
state_class: measurement
#state_class: measurement
device_class: monetary
2 changes: 1 addition & 1 deletion entities/templates/energy_cost_daily_total.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- name: Daily Total Energy Cost
state: "{{ (states('sensor.daily_peak_energy_cost')|float + states('sensor.daily_offpeak_energy_cost')|float + states('input_number.energy_daily_cost')|float)|round(2) }}"
unit_of_measurement: "EUR"
state_class: measurement
#state_class: measurement
device_class: monetary
2 changes: 1 addition & 1 deletion entities/templates/energy_cost_monthly_offpeak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- name: Monthly Offpeak Energy Cost
state: "{{ ((states('sensor.monthly_energy_offpeak')|float ) * states('input_number.offpeak_energy_cost')|float) }}"
unit_of_measurement: "EUR"
state_class: measurement
#state_class: measurement
device_class: monetary
2 changes: 1 addition & 1 deletion entities/templates/energy_cost_monthly_total.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- name: Monthly Total Energy Cost
state: "{{ (states('sensor.monthly_peak_energy_cost')|float(0) + states('sensor.monthly_offpeak_energy_cost')|float(0) + states('input_number.energy_monthly_cost')|float)|round(2) }}"
unit_of_measurement: "EUR"
state_class: measurement
#state_class: measurement
device_class: monetary
2 changes: 1 addition & 1 deletion entities/templates/energy_cost_monthy_peak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
- name: Monthly Peak Energy Cost
state: "{{ ((states('sensor.monthly_energy_peak')|float ) * states('input_number.peak_energy_cost')|float) }}"
unit_of_measurement: "EUR"
state_class: measurement
#state_class: measurement
device_class: monetary
2 changes: 1 addition & 1 deletion entities/templates/smart_inverter_template_energy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- name: "Solar Energy Production"
unique_id: 2fc1895e-5ad8-4d7e-94ec-bfb18b49c6db
unit_of_measurement: kWh
state_class: measurement
state_class: total_increasing
device_class: energy
icon: mdi:solar-power-variant
state: >
Expand Down
17 changes: 0 additions & 17 deletions entities/weather/my_weather.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion integrations/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ frontend:
# deprecated
# We can define additional/custom themes for the frontend here.
themes: !include_dir_merge_named ../themes
javascript_version: latest
# javascript_version: latest
extra_module_url:
- /local/community/custom-brand-icons/custom-brand-icons.js
5 changes: 5 additions & 0 deletions integrations/recorder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ recorder:
# - sensor.next_launch_countdown
- sensor.blitzortung_lightning_azimuth
- sensor.blitzortung_lightning_distance
# exceed maximum size of
- sensor.pixel_7_pro_active_notification_count
- sensor.oppo_active_notification_count
- sensor.watchman_missing_entities
- sensor.ele_l29_active_notification_count
2 changes: 1 addition & 1 deletion integrations/sun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

sun:
# The (physical) elevation of your location, in meters above sea level.
elevation: !secret home_elevation
#elevation: !secret home_elevation

0 comments on commit 4668b1a

Please sign in to comment.