Skip to content

Commit

Permalink
Merge 6eda334 into 19e1fca
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Jan 21, 2023
2 parents 19e1fca + 6eda334 commit cbea3be
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7,098 deletions.
10 changes: 8 additions & 2 deletions tests/sensors/test_daily_energy.py
Expand Up @@ -360,7 +360,10 @@ async def test_increase_service(hass: HomeAssistant) -> None:
await hass.services.async_call(
DOMAIN,
SERVICE_INCREASE_DAILY_ENERGY,
{ATTR_ENTITY_ID: entity_id, "value": 1.2},
{
ATTR_ENTITY_ID: entity_id,
"value": 1.2
},
blocking=True,
)
await hass.async_block_till_done()
Expand All @@ -370,7 +373,10 @@ async def test_increase_service(hass: HomeAssistant) -> None:
await hass.services.async_call(
DOMAIN,
SERVICE_INCREASE_DAILY_ENERGY,
{ATTR_ENTITY_ID: entity_id, "value": 1.5},
{
ATTR_ENTITY_ID: entity_id,
"value": 1.5
},
blocking=True,
)
await hass.async_block_till_done()
Expand Down

0 comments on commit cbea3be

Please sign in to comment.