mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-03-14 20:33:40 +00:00
fix(#163): Home Assistant recipe template
Some checks are pending
tests / ci (push) Waiting to run
Some checks are pending
tests / ci (push) Waiting to run
This commit is contained in:
parent
20a183cfee
commit
eb767fa6d0
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
@php
|
@php
|
||||||
$weatherEntity = collect($data)->first(function($entity) {
|
$weatherEntity = collect(Arr::get($data, 'data'))->first(function($entity) {
|
||||||
return $entity['entity_id'] === 'weather.forecast_home';
|
return $entity['entity_id'] === 'weather.forecast_home';
|
||||||
});
|
});
|
||||||
@endphp
|
@endphp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue