@php $weatherEntity = collect($data)->first(function($entity) { return $entity['entity_id'] === 'weather.forecast_home'; }); @endphp @props(['size' => 'full']) @if($weatherEntity)
{{ $weatherEntity['attributes']['temperature'] }} Temperature {{ $weatherEntity['attributes']['temperature_unit'] }}
{{-- --}}
{{ $weatherEntity['attributes']['wind_speed'] }} {{ $weatherEntity['attributes']['wind_speed_unit'] }} Wind Speed
{{-- --}}
{{ $weatherEntity['attributes']['humidity'] }}% Humidity
{{-- --}}
{{ Str::title($weatherEntity['state']) }} Right Now
@else

Weather forecast data not found.

@endif