nliaudat / esp_canbus

Esp32 Canbus Shield
Other
17 stars 2 forks source link

TODO - xls parser : hide sensor if already in inputs #18

Closed nliaudat closed 2 months ago

nliaudat commented 2 months ago

Find a way to set internal: true in sensor if it's already on inputs.

The writable parameter could be the trick.

in sensors_LANG.yaml the parameter internal: true must be add

- platform: toptronic
  name: Normal ventilation modulation
  device_type: HV
  device_addr: ${TT_HV_addr}
  function_group: 50
  function_number: 0
  datapoint: 40651
  id: HV_50_0_40651
  type: U8
  unit_of_measurement: '%'
  **_internal: true_**

inputs_LANG.yaml for notes

number:
- platform: toptronic
  name: Normal ventilation modulation
  device_type: HV
  device_addr: ${TT_HV_addr}
  function_group: 50
  function_number: 0
  datapoint: 40651
  id: HV_50_0_40651_set
  type: U8
  unit_of_measurement: '%'
  min_value: 15
  max_value: 100
  step: 1
  decimal: 0
nliaudat commented 2 months ago

done in https://github.com/nliaudat/esp_canbus/commit/9f568e30a30ba5c4966e4def0e736159ba7fe0d0