File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
custom_components/isitpayday Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -102,15 +102,16 @@ async def async_step_frequency(self, user_input=None):
102102
103103 self .pay_frequency = user_input [CONF_PAY_FREQ ]
104104
105- if self .pay_frequency in [
106- PAY_FREQ_MONTHLY ,
105+ if self .pay_frequency == PAY_FREQ_MONTHLY :
106+ return await self .async_step_monthly_day ()
107+ elif self .pay_frequency in [
107108 PAY_FREQ_BIMONTHLY ,
108109 PAY_FREQ_QUARTERLY ,
109110 PAY_FREQ_SEMIANNUAL ,
110- PAY_FREQ_ANNUAL
111+ PAY_FREQ_ANNUAL ,
112+ PAY_FREQ_28_DAYS ,
113+ PAY_FREQ_14_DAYS
111114 ]:
112- return await self .async_step_monthly_day ()
113- elif self .pay_frequency in [PAY_FREQ_28_DAYS , PAY_FREQ_14_DAYS ]:
114115 return await self .async_step_cycle_last_paydate ()
115116 elif self .pay_frequency == PAY_FREQ_WEEKLY :
116117 return await self .async_step_weekly ()
You can’t perform that action at this time.
0 commit comments