mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2025-09-13 15:47:08 +00:00
Change default 'sensor_lumin' unit from 'Lux' to 'lx'
This commit is contained in:
parent
8dfd40a5d7
commit
e8274850d1
@ -5,8 +5,9 @@
|
|||||||
|
|
||||||
- Set 'battery' entity category to 'diagnostic' to hide it from the main HA view.
|
- Set 'battery' entity category to 'diagnostic' to hide it from the main HA view.
|
||||||
- Do not expose 'battery' entity twice if it supports both level and low/high binary state.
|
- Do not expose 'battery' entity twice if it supports both level and low/high binary state.
|
||||||
|
- Changed the default 'sensor_lumin' unit from 'Lux' to 'lx'.
|
||||||
|
|
||||||
## 0.1.0 (24.07.2025)
|
# 0.1.0 (24.07.2025)
|
||||||
|
|
||||||
**Initial stable release**
|
**Initial stable release**
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ export function sensor_lumin__components(
|
|||||||
svc: VinculumPd7Service,
|
svc: VinculumPd7Service,
|
||||||
): ServiceComponentsCreationResult | undefined {
|
): ServiceComponentsCreationResult | undefined {
|
||||||
const device_class = 'illuminance';
|
const device_class = 'illuminance';
|
||||||
const unit = svc.props?.sup_units?.[0] ?? 'Lux';
|
const unit = svc.props?.sup_units?.[0] ?? 'lx';
|
||||||
|
|
||||||
return {
|
return {
|
||||||
components: {
|
components: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user