t1gr0u / rain-gauge-card

A Lovelace card that shows the rain gauge for Home Assistant
MIT License
43 stars 24 forks source link

Inches #3

Closed mattfox27 closed 1 year ago

mattfox27 commented 1 year ago

Can you make this so it can also do In/hr for US? Really like it

715Steve commented 1 year ago

Agree. My weather station uses inches.

unit_of_measurement: in

Thanks.

t1gr0u commented 1 year ago

@mattfox27 @715Steve We could have a boolean like is_imperial if set to true will then change all the unit of measurement to use in for Total and in/h for the Rate.

What do you think?

715Steve commented 1 year ago

Manually is fine, just so long as there is a way to change it.

mattfox27 commented 1 year ago

Either option works for me

t1gr0u commented 1 year ago

This is now added in v1.2.0

You can either add is_imperial in the YAML editor and set it to true or use the UI and toggle the switch.

715Steve commented 1 year ago

Updated and it works great. Thanks!