fix: wrap filter() with list() in water_heater operation_list (#5216)
* fix: wrap filter() with list() in water_heater operation_list
filter() returns a lazy iterator object, which is not JSON-serializable.
This causes Home Assistant to fail when serializing capability_attributes
for water heater entities with operation modes.
Regression introduced in 2026.6.0.
Fixes #5215
* Reformatting to satisfy lint
---------
Co-authored-by: toller892 <toller892@gmail.com>
Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>