Skip to content

Correct README against current entity/platform layout#390

Merged
sebr merged 2 commits intomainfrom
docs/readme-correctness
Apr 17, 2026
Merged

Correct README against current entity/platform layout#390
sebr merged 2 commits intomainfrom
docs/readme-correctness

Conversation

@sebr
Copy link
Copy Markdown
Owner

@sebr sebr commented Apr 17, 2026

Summary

Sweeps the README for claims that no longer match the code after the zone-valve migration and other platform additions.

Structural

  • Renamed the Zone Switch section to Zone Valve under a new Valve Entities heading. BHyveZoneValve extends ValveEntity, so zones surface as valve.* entities, not switch.*.
  • Added short sections for previously-undocumented entities:
    • Temperature sensor (flood)
    • Signal strength sensor (flood, RSSI)
    • Fault binary_sensor (sprinkler station faults)
    • Connectivity binary_sensor (Wi-Fi bridge)
    • Smart Watering switch (per-zone)
    • Device Mode select (auto/off)

Accuracy

  • Rewrote the Supported Entities bullet list to include valve and select, remove zones from switch, and match what the integration actually creates.
  • Flipped zone-scoped entity_id references in the services table from "zone switch entity" to "zone valve entity".
  • Updated the python script usage + automation example from switch.backyard_zone to valve.backyard_zone.
  • Added station, next_start_time, next_start_programs attributes to the zone attribute table.
  • Lowercased program slot letters (a/b/c/e) to match the actual program_* attribute keys.

Out of scope

Several services are registered in `valve.py` but their methods don't exist on `BHyveZoneValve` (`enable_rain_delay`, `disable_rain_delay`, `set_manual_preset_runtime`, `start_program`). They'll log "Service not implemented" when called. The README still describes them as intended — fixing the registration is a separate code PR.

Test plan

  • Render the README locally and scan for broken links/tables.
  • Reviewer spot-checks each section against a live install to confirm entity names and attributes match.

sebr and others added 2 commits April 17, 2026 01:35
- Zones are documented as valve entities (BHyveZoneValve extends
  ValveEntity); rename the Zone Switch section to Zone Valve and
  point all zone-scoped service examples and the python script
  snippet at valve.*_zone instead of switch.*_zone.
- Rewrite the Supported Entities list so valve, select and the
  smart watering switch appear, and so the switch/sensor/binary_sensor
  entries match what the integration actually creates.
- Add short sections for the previously-undocumented entities:
  temperature sensor, signal strength sensor, fault binary_sensor,
  connectivity binary_sensor, smart watering switch, device mode
  select.
- Document the station and next_start_* attributes exposed on zone
  valve entities.
- Lowercase the program slot letters (a/b/c/e) to match the actual
  attribute keys (program_a, program_b, ...).

Services are re-described with zone valve wording. Broken services
(enable/disable_rain_delay, set_manual_preset_runtime, start_program
on the valve domain) are left in the table at their intended behaviour
and will be fixed in a separate PR.
@sebr sebr merged commit 6701776 into main Apr 17, 2026
4 checks passed
@sebr sebr deleted the docs/readme-correctness branch April 17, 2026 02:21
sebr added a commit that referenced this pull request Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant