Skip to content

Commit

Permalink
Tibber dynamic user-agent #14
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Sep 27, 2024
1 parent ed06b94 commit a36ba9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/electricity/tibber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sensor:
headers:
Authorization: !secret tibber_api_token
Content-Type: application/json
User-Agent: github.com/edwardtfn/HomeAssistant-Config
User-Agent: HomeAssistant/v{%- for u in integration_entities('hassio') | select('search', '^update[.]') if (device_attr(u, 'identifiers') | first)[1] == 'core' -%}{{ state_attr(u, "installed_version") }}{%- endfor -%}/github.com/edwardtfn/HomeAssistant-Config

template:
- sensor:
Expand Down

0 comments on commit a36ba9e

Please sign in to comment.