Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NL] Remove C or F from weather response #2026

Merged
merged 1 commit into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion responses/nl/HassGetWeather.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ responses:
'windy': 'met wind',
'windy-variant': 'met wind en bewolking'
} %}
{{ state.attributes.get('temperature') }} {{ state.attributes.get('temperature_unit') }} {{ weather_condition.get((state.state | string).lower(), "") }}
{{ state.attributes.get('temperature') }} graden {{ weather_condition.get((state.state | string).lower(), "") }}
4 changes: 2 additions & 2 deletions tests/nl/weather_HassGetWeather.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tests:
- "hoe is het weer"
intent:
name: HassGetWeather
response: 20 °C en zonnig
response: 20 graden en zonnig

- sentences:
- "hoe is de weersvoorspelling voor Amsterdam"
Expand All @@ -16,4 +16,4 @@ tests:
name: HassGetWeather
slots:
name: Amsterdam
response: 12 °C met regen
response: 12 graden met regen