Refactor routine_view_card.dart to adjust the size of the CircularProgressIndicator

Fix routine popup
Update wall_presence_sensor.dart to handle null selectedOperationName
This commit is contained in:
mohammad
2025-04-07 16:42:44 +03:00
parent 6bd9fb7e4e
commit a56f4e488e
2 changed files with 3 additions and 5 deletions

View File

@ -170,7 +170,7 @@ class _WallPresenceSensorState extends State<WallPresenceSensor> {
orElse: () => DeviceFunctionData(
entityId: '',
functionCode: selectedFunction,
operationName: state.selectedOperationName!,
operationName: state.selectedOperationName ?? '',
value: null,
),
);