ha-fusion icon indicating copy to clipboard operation
ha-fusion copied to clipboard

Windows Sensor HmIP-SRH

Open dos1973 opened this issue 1 year ago • 4 comments

Hi,

i have Homematic Window Sensor following entities are available options: closed, tilted, open

fusion shows the current windows state in "german- language" for closed and open correct, but tilted is missing, there is no translation - just shows tilted.

  • can you please add for the entities tilted = Gekippt

  • is it possible to add addional color icon values for each state?

  • when the windows sensor is in state open the whole Button shows active (white)

  • is it possible to activate the Button also when the sensor value is tilted

Thanks in advance


Link to HmIP-SRH https://de.elv.com/elv-homematic-ip-arr-bausatz-fenstergriffsensor-hmip-srh-fuer-smart-home-hausautomation-152133?utm_source=google&utm_medium=cpc&utm_campaign=perfmax_shopping_de&refid=Gads&Gads_PerfMax_Shopping&gad_source=1&gclid=CjwKCAiA5L2tBhBTEiwAdSxJX65f-Dile1gipC8-VTrLVGoeqkPjcpCYMlINlq2KYEJnyIEE-a5MrRoCbbwQAvD_BwE&dt_dynco=0714FA3244CAB1A58C5572A19677C66E

dos1973 avatar Jan 23 '24 21:01 dos1973

Yes I will look up translation key for 'tilted'

I'm interested in attribute data from dev tools, can you post that for your sensor?

For example

state_class: measurement
battery_state: normal
unit_of_measurement: "%"
device_class: battery
friendly_name: Badrum Dimmer Batteri

matt8707 avatar Jan 24 '24 11:01 matt8707

I think, this is what you're looking for:

options:
  - closed
  - tilted
  - open
interface_id: RasperryMatik-HmIP-RF
address: 0007DA49902882:1
model: HmIP-SRH
entity_type: generic
parameter: STATE
function: Verschluss
value_state: valid
device_class: enum
icon: mdi:window-closed
friendly_name: Küche Terassentür

dos1973 avatar Jan 24 '24 13:01 dos1973

Is this a sensor like sensor.homematic?

matt8707 avatar Jan 25 '24 14:01 matt8707

Yes, its an homematic component

dos1973 avatar Jan 25 '24 16:01 dos1973