Skip to content
Home Assistant TestFlight
Command Line

Command-line light sensor

Sensors · Security

WorksWorks in Apple Home

1 report: 1 says it works.

Reported with 1 integration: Command line.

What people report

IntegrationIn Home AssistantIn Apple HomeWhat they saidSource
Command lineWorksWorks in Home
Light level 0 failed to update; fixed in 2022.2
Zero lux values were skipped by HomeKit; fixed in 2022.2
Saved copy
The problem I have the sensor created via `Command-line sensor` integration, which reads the value from a self-hosted web server; on the Home Assistant overview I see the correct value when the sensor is 0 but HomeKit integration doesn't call the update value function. [code] It seems that it doesn't enter the `if` statement in the code above. ### What version of Home Assistant Core has the issue? core-2021.12.4 ### What was the last working version of Home Assistant Core? _No response_ ### What type of installation are you running? Home Assistant Container ### Integration causing the issue …

Excerpt saved from GitHub on 2026-10-23.

Issue #62641 · 2021-12

Each row is one report from a GitHub thread, an integration’s docs, or r/homeassistant. Check the date and the linked source before you buy.

In ReReHome

Once Home Assistant’s HomeKit Bridge shares it, this device reaches Apple Home as a HomeKit accessory behind your Home Assistant bridge, so ReReHome shows and controls it like any other.

Identifiers

BrandCommand Line
CategorySensors