diff --git a/resources/views/recipes/home-assistant.blade.php b/resources/views/recipes/home-assistant.blade.php index 686b33a..4e52a9e 100644 --- a/resources/views/recipes/home-assistant.blade.php +++ b/resources/views/recipes/home-assistant.blade.php @@ -1,5 +1,5 @@ @php - $weatherEntity = collect($data)->first(function($entity) { + $weatherEntity = collect(Arr::get($data, 'data'))->first(function($entity) { return $entity['entity_id'] === 'weather.forecast_home'; }); @endphp