Skip to content

Commit

Permalink
MDI
Browse files Browse the repository at this point in the history
  • Loading branch information
lowprize committed Sep 6, 2023
1 parent 54dc6a5 commit 3eb602f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensors/solax00.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
#nok
# value_template: "{{ as_timestamp(state_attr('sensor.solax_api', 'uploadTime'))| timestamp_local }}"
# #ok
value_template: '{{ as_timestamp(states.sensor.solax_api.attributes["uploadTime"]) }}'
value_template: '{{ as_timestamp(states.sensor.solax_api.attributes["uploadTime"]) | timestamp_local}}'
device_class: timestamp
#end of time
solax_api_batpower:
Expand Down

0 comments on commit 3eb602f

Please sign in to comment.